Skip to content

Commit fcdecc2

Browse files
authored
treewide: change ${pname} to string literal (#336172)
* adwaita-icon-theme: change `${pname}` to string literal * alp: change `${pname}` to string literal * alsa-oss: change `${pname}` to string literal * alsa-plugins: change `${pname}` to string literal * alsa-ucm-conf: change `${pname}` to string literal * alsa-utils: change `${pname}` to string literal * anyrun: change `${pname}` to string literal * assemblyscript: change `${pname}` to string literal * audiobookshelf: change `${pname}` to string literal * baobab: change `${pname}` to string literal * braa: change `${pname}` to string literal * brill: change `${pname}` to string literal * centrifugo: change `${pname}` to string literal * cheese: change `${pname}` to string literal * cljfmt: change `${pname}` to string literal * coppwr: change `${pname}` to string literal * cosmic-edit: change `${pname}` to string literal * cosmic-files: change `${pname}` to string literal * cosmic-store: change `${pname}` to string literal * cosmic-term: change `${pname}` to string literal * crate2nix: change `${pname}` to string literal * cups-kyocera-3500-4500: change `${pname}` to string literal * dbqn: change `${pname}` to string literal * dconf-editor: change `${pname}` to string literal * devhelp: change `${pname}` to string literal * dmarc-report-converter: change `${pname}` to string literal * engage: change `${pname}` to string literal * eog: change `${pname}` to string literal * evolution-data-server-gtk4: change `${pname}` to string literal * find-billy: change `${pname}` to string literal * firefly-iii: change `${pname}` to string literal * fuchsia-cursor: change `${pname}` to string literal * geary: change `${pname}` to string literal * ghex: change `${pname}` to string literal * gitg: change `${pname}` to string literal * glasskube: change `${pname}` to string literal * gnome.gnome-autoar: change `${pname}` to string literal * gnome.gnome-calculator: change `${pname}` to string literal * gnome.gnome-calendar: change `${pname}` to string literal * gnome.gnome-common: change `${pname}` to string literal * gnome.gnome-dictionary: change `${pname}` to string literal * gnome.gnome-disk-utility: change `${pname}` to string literal * gnome.gnome-font-viewer: change `${pname}` to string literal * gnome.gnome-keyring: change `${pname}` to string literal * gnome.gnome-screenshot: change `${pname}` to string literal * gnome.gnome-system-monitor: change `${pname}` to string literal * gnome.seahorse: change `${pname}` to string literal * gnome.simple-scan: change `${pname}` to string literal * gnome.sushi: change `${pname}` to string literal * gnome.totem: change `${pname}` to string literal * gnome.yelp: change `${pname}` to string literal * gnome.yelp-xsl: change `${pname}` to string literal * gnucap-full: change `${pname}` to string literal * goredo: change `${pname}` to string literal * guile-semver: change `${pname}` to string literal * halo: change `${pname}` to string literal * intiface-central: change `${pname}` to string literal * intune-portal: change `${pname}` to string literal * iscc: change `${pname}` to string literal * jetbrains-toolbox: change `${pname}` to string literal * jnr-posix: change `${pname}` to string literal * keymapp: change `${pname}` to string literal * libation: change `${pname}` to string literal * libeduvpn-common: change `${pname}` to string literal * libmamba: change `${pname}` to string literal * littlefs-fuse: change `${pname}` to string literal * logseq: change `${pname}` to string literal * lxgw-wenkai-tc: change `${pname}` to string literal * microsoft-identity-broker: change `${pname}` to string literal * minetest-mapserver: change `${pname}` to string literal * msalsdk-dbusclient: change `${pname}` to string literal * neverest: change `${pname}` to string literal * nf-test: change `${pname}` to string literal * numbat: change `${pname}` to string literal * pdf2odt: change `${pname}` to string literal * plemoljp: change `${pname}` to string literal * plemoljp-hs: change `${pname}` to string literal * plemoljp-nf: change `${pname}` to string literal * pocket-updater-utility: change `${pname}` to string literal * proto: change `${pname}` to string literal * pw3270: change `${pname}` to string literal * ratchet: change `${pname}` to string literal * read-it-later: change `${pname}` to string literal * redmine: change `${pname}` to string literal * regina: change `${pname}` to string literal * regripper: change `${pname}` to string literal * revolt-desktop: change `${pname}` to string literal * rs: change `${pname}` to string literal * signaturepdf: change `${pname}` to string literal * sonarlint-ls: change `${pname}` to string literal * srgn: change `${pname}` to string literal * stackit-cli: change `${pname}` to string literal * substudy: change `${pname}` to string literal * swayosd: change `${pname}` to string literal * synthesia: change `${pname}` to string literal * tarlz: change `${pname}` to string literal * termcap: change `${pname}` to string literal * tinycompress: change `${pname}` to string literal * tracexec: change `${pname}` to string literal * treefmt2: change `${pname}` to string literal * udev-gothic: change `${pname}` to string literal * udev-gothic-nf: change `${pname}` to string literal * vvvvvv: change `${pname}` to string literal * yggdrasil: change `${pname}` to string literal * zsync: change `${pname}` to string literal
1 parent d2f3b99 commit fcdecc2

File tree

105 files changed

+196
-196
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+196
-196
lines changed

pkgs/by-name/ad/adwaita-icon-theme/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
version = "46.0";
1717

1818
src = fetchurl {
19-
url = "mirror://gnome/sources/adwaita-icon-theme/${lib.versions.major version}/${pname}-${version}.tar.xz";
19+
url = "mirror://gnome/sources/adwaita-icon-theme/${lib.versions.major version}/adwaita-icon-theme-${version}.tar.xz";
2020
hash = "sha256-S8tTm9ddZNo4XW+gjLqp3erOtqyOgrhbpsQRF79bpk4=";
2121
};
2222

pkgs/by-name/al/alp/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ buildGoModule rec {
3333
buildPhase = ''
3434
runHook preBuild
3535
36-
go build -o $GOPATH/bin/${pname} main.go
36+
go build -o $GOPATH/bin/alp main.go
3737
3838
runHook postBuild
3939
'';

pkgs/by-name/al/alsa-oss/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
55
version = "1.1.8";
66

77
src = fetchurl {
8-
url = "mirror://alsa/oss-lib/${pname}-${version}.tar.bz2";
8+
url = "mirror://alsa/oss-lib/alsa-oss-${version}.tar.bz2";
99
sha256 = "13nn6n6wpr2sj1hyqx4r9nb9bwxnhnzw8r2f08p8v13yjbswxbb4";
1010
};
1111

pkgs/by-name/al/alsa-plugins/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
55
version = "1.2.12";
66

77
src = fetchurl {
8-
url = "mirror://alsa/plugins/${pname}-${version}.tar.bz2";
8+
url = "mirror://alsa/plugins/alsa-plugins-${version}.tar.bz2";
99
hash = "sha256-e9ioPTBOji2GoliV2Nyw7wJFqN8y4nGVnNvcavObZvI=";
1010
};
1111

pkgs/by-name/al/alsa-ucm-conf/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
55
version = "1.2.11";
66

77
src = fetchurl {
8-
url = "mirror://alsa/lib/${pname}-${version}.tar.bz2";
8+
url = "mirror://alsa/lib/alsa-ucm-conf-${version}.tar.bz2";
99
hash = "sha256-OHwBzzDioWdte49ysmgc8hmrynDdHsKp4zrdW/P+roE=";
1010
};
1111

pkgs/by-name/al/alsa-utils/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333
version = "1.2.10";
3434

3535
src = fetchurl {
36-
url = "mirror://alsa/utils/${pname}-${version}.tar.bz2";
36+
url = "mirror://alsa/utils/alsa-utils-${version}.tar.bz2";
3737
sha256 = "sha256-EEti7H8Cp84WynefSBVhbfHMIZM1A3g6kQe1lE+DBjo=";
3838
};
3939
patches = [

pkgs/by-name/an/anyrun/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ rustPlatform.buildRustPackage rec {
5959
'';
6060

6161
postInstall = ''
62-
install -Dm444 anyrun/res/style.css examples/config.ron -t $out/share/doc/${pname}/examples/
62+
install -Dm444 anyrun/res/style.css examples/config.ron -t $out/share/doc/anyrun/examples/
6363
'';
6464

6565
passthru.updateScript = unstableGitUpdater { };

pkgs/by-name/as/assemblyscript/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ buildNpmPackage rec {
99

1010
src = fetchFromGitHub {
1111
owner = "AssemblyScript";
12-
repo = pname;
12+
repo = "assemblyscript";
1313
rev = "v${version}";
1414
sha256 = "sha256-Jhjq+kLRzDesTPHHonImCnuzt1Ay04n7+O9aK4knb5g=";
1515
};
1616

1717
npmDepsHash = "sha256-mWRQPQVprM+9SCYd8M7NMDtiwDjSH5cr4Xlr5VP9eHo=";
1818

1919
meta = with lib; {
20-
homepage = "https://github.com/AssemblyScript/${pname}";
20+
homepage = "https://github.com/AssemblyScript/assemblyscript";
2121
description = "TypeScript-like language for WebAssembly";
2222
license = licenses.asl20;
2323
maintainers = with maintainers; [ lucperkins ];

pkgs/by-name/au/audiobookshelf/package.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ let
2020

2121
src = fetchFromGitHub {
2222
owner = "advplyr";
23-
repo = pname;
23+
repo = "audiobookshelf";
2424
rev = "refs/tags/v${source.version}";
2525
inherit (source) hash;
2626
};
2727

2828
client = buildNpmPackage {
29-
pname = "${pname}-client";
29+
pname = "audiobookshelf-client";
3030
inherit (source) version;
3131

3232
src = runCommand "cp-source" { } ''
@@ -74,13 +74,13 @@ buildNpmPackage {
7474
installPhase = ''
7575
mkdir -p $out/opt/client
7676
cp -r index.js server package* node_modules $out/opt/
77-
cp -r ${client}/lib/node_modules/${pname}-client/dist $out/opt/client/dist
77+
cp -r ${client}/lib/node_modules/audiobookshelf-client/dist $out/opt/client/dist
7878
mkdir $out/bin
7979
80-
echo '${wrapper}' > $out/bin/${pname}
81-
echo " exec ${nodejs}/bin/node $out/opt/index.js" >> $out/bin/${pname}
80+
echo '${wrapper}' > $out/bin/audiobookshelf
81+
echo " exec ${nodejs}/bin/node $out/opt/index.js" >> $out/bin/audiobookshelf
8282
83-
chmod +x $out/bin/${pname}
83+
chmod +x $out/bin/audiobookshelf
8484
'';
8585

8686
passthru = {

pkgs/by-name/ba/baobab/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
version = "46.0";
2222

2323
src = fetchurl {
24-
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
24+
url = "mirror://gnome/sources/baobab/${lib.versions.major version}/baobab-${version}.tar.xz";
2525
hash = "sha256-zk3vXILQVnGlAJ9768+FrJhnXZ2BYNKK2RgbJppy43w=";
2626
};
2727

@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
4848

4949
passthru = {
5050
updateScript = gnome.updateScript {
51-
packageName = pname;
51+
packageName = "baobab";
5252
};
5353
};
5454

0 commit comments

Comments
 (0)