Skip to content

Commit 90551ad

Browse files
authored
treewide: substitute pname for strings (by-name) (#511592)
2 parents 85ca373 + aa606d4 commit 90551ad

19 files changed

Lines changed: 28 additions & 28 deletions

File tree

pkgs/by-name/li/libtypec/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
1717

1818
src = fetchFromGitHub {
1919
owner = "libtypec";
20-
repo = pname;
21-
rev = "${pname}-${version}";
20+
repo = "libtypec";
21+
rev = "libtypec-${version}";
2222
hash = "sha256-XkT0bgBjoJTAFa9NLZdzbJSpchiXxKjeu88PeT/AlPY=";
2323
};
2424

pkgs/by-name/na/nano-syntax-highlighting/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: rec {
1414

1515
src = fetchFromGitHub {
1616
owner = "galenguyer";
17-
repo = pname;
17+
repo = "nano-syntax-highlighting";
1818
tag = version;
1919
hash = "sha256-H0F57b8M+onhpVtvna03t919xk6+z/dJP37y9hcqfCY=";
2020
};
@@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: rec {
4545
for nanorcPath in ${finalAttrs.finalPackage}/share/*.nanorc; do
4646
nano --rcfile "$nanorcPath" --listsyntaxes \
4747
| tail --lines +2 \
48-
| xargs --max-args 1 expect -f ${expectScript}/bin/${pname}-test-syntax.exp "$nanorcPath"
48+
| xargs --max-args 1 expect -f ${expectScript}/bin/nano-syntax-highlighting-test-syntax.exp "$nanorcPath"
4949
done;
5050
touch $out
5151
''

pkgs/by-name/nv/nvfancontrol/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
1515

1616
src = fetchFromGitHub {
1717
owner = "foucault";
18-
repo = pname;
18+
repo = "nvfancontrol";
1919
rev = version;
2020
sha256 = "sha256-0WBQSnTYVc3sNmZf/KFzznMg9AVsyaBgdx/IvG1dZAw=";
2121
};

pkgs/by-name/pr/prometheus-artifactory-exporter/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildGoModule rec {
1212

1313
src = fetchFromGitHub {
1414
owner = "peimanja";
15-
repo = pname;
15+
repo = "artifactory_exporter";
1616
rev = rev;
1717
hash = "sha256-ffICacOaYD3/wB38qQ/qYOfDwQxe1tndRdR2BHxolcA=";
1818
};

pkgs/by-name/pr/prometheus-bitcoin-exporter/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec {
1212

1313
src = fetchFromGitHub {
1414
owner = "jvstein";
15-
repo = pname;
15+
repo = "bitcoin-prometheus-exporter";
1616
tag = "v${version}";
1717
sha256 = "sha256-08QG/5Kj++rjWz7OciqKSJUk00lSJCbfB5XwwP+h4so=";
1818
};
@@ -31,8 +31,8 @@ python3Packages.buildPythonApplication rec {
3131
mkdir -p $out/bin
3232
cp bitcoind-monitor.py $out/bin/
3333
34-
mkdir -p $out/share/${pname}
35-
cp -r dashboard README.md $out/share/${pname}/
34+
mkdir -p $out/share/bitcoin-prometheus-exporter
35+
cp -r dashboard README.md $out/share/bitcoin-prometheus-exporter/
3636
'';
3737

3838
meta = {

pkgs/by-name/pr/prometheus-cloudflare-exporter/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildGoModule rec {
1111

1212
src = fetchFromGitHub {
1313
owner = "lablabs";
14-
repo = pname;
14+
repo = "cloudflare-exporter";
1515
tag = "cloudflare-exporter-${version}";
1616
sha256 = "sha256-rfnAGBuY6HoWzZkYp9u+Ee3xhWb6Se2RkkSIWBvjUYY=";
1717
};

pkgs/by-name/pr/prometheus-flow-exporter/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildGoModule rec {
1111
src = fetchFromGitHub {
1212
rev = "v${version}";
1313
owner = "neptune-networks";
14-
repo = pname;
14+
repo = "flow-exporter";
1515
sha256 = "sha256-6FqupoYWRvex7XhM7ly8f7ICnuS9JvCRIVEBIJe+64k=";
1616
};
1717

pkgs/by-name/pr/prometheus-gitlab-ci-pipelines-exporter/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ buildGoModule rec {
1010

1111
src = fetchFromGitHub {
1212
owner = "mvisonneau";
13-
repo = pname;
13+
repo = "gitlab-ci-pipelines-exporter";
1414
rev = "v${version}";
1515
sha256 = "sha256-r/6tRecbLN9bX2+HYyk4tT0uNiAqtZwMoMMQUJ7niJI=";
1616
};
1717

18-
subPackages = [ "cmd/${pname}" ];
18+
subPackages = [ "cmd/gitlab-ci-pipelines-exporter" ];
1919

2020
ldflags = [
2121
"-X main.version=v${version}"

pkgs/by-name/pr/prometheus-nats-exporter/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ buildGoModule rec {
1313

1414
src = fetchFromGitHub {
1515
owner = "nats-io";
16-
repo = pname;
16+
repo = "prometheus-nats-exporter";
1717
rev = "v${version}";
1818
sha256 = "sha256-siucc55qi1SS2R07xgxh25CWYjxncUqvzxo0XoIPyOo=";
1919
};

pkgs/by-name/pr/prometheus-php-fpm-exporter/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ buildGoModule rec {
1616

1717
src = fetchFromGitHub {
1818
owner = "hipages";
19-
repo = pname;
19+
repo = "php-fpm_exporter";
2020
rev = "v${version}";
2121
hash = "sha256-ggrFnyEdGBoZVh4dHMw+7RUm8nJ1hJXo/fownO3wvzE=";
2222
};

0 commit comments

Comments
 (0)