Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkgs/by-name/li/libtypec/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ stdenv.mkDerivation rec {

src = fetchFromGitHub {
owner = "libtypec";
repo = pname;
rev = "${pname}-${version}";
repo = "libtypec";
rev = "libtypec-${version}";
hash = "sha256-XkT0bgBjoJTAFa9NLZdzbJSpchiXxKjeu88PeT/AlPY=";
};

Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/na/nano-syntax-highlighting/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: rec {

src = fetchFromGitHub {
owner = "galenguyer";
repo = pname;
repo = "nano-syntax-highlighting";
tag = version;
hash = "sha256-H0F57b8M+onhpVtvna03t919xk6+z/dJP37y9hcqfCY=";
};
Expand Down Expand Up @@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: rec {
for nanorcPath in ${finalAttrs.finalPackage}/share/*.nanorc; do
nano --rcfile "$nanorcPath" --listsyntaxes \
| tail --lines +2 \
| xargs --max-args 1 expect -f ${expectScript}/bin/${pname}-test-syntax.exp "$nanorcPath"
| xargs --max-args 1 expect -f ${expectScript}/bin/nano-syntax-highlighting-test-syntax.exp "$nanorcPath"
done;
touch $out
''
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/nv/nvfancontrol/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {

src = fetchFromGitHub {
owner = "foucault";
repo = pname;
repo = "nvfancontrol";
rev = version;
sha256 = "sha256-0WBQSnTYVc3sNmZf/KFzznMg9AVsyaBgdx/IvG1dZAw=";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildGoModule rec {

src = fetchFromGitHub {
owner = "peimanja";
repo = pname;
repo = "artifactory_exporter";
rev = rev;
hash = "sha256-ffICacOaYD3/wB38qQ/qYOfDwQxe1tndRdR2BHxolcA=";
};
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/pr/prometheus-bitcoin-exporter/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec {

src = fetchFromGitHub {
owner = "jvstein";
repo = pname;
repo = "bitcoin-prometheus-exporter";
tag = "v${version}";
sha256 = "sha256-08QG/5Kj++rjWz7OciqKSJUk00lSJCbfB5XwwP+h4so=";
};
Expand All @@ -31,8 +31,8 @@ python3Packages.buildPythonApplication rec {
mkdir -p $out/bin
cp bitcoind-monitor.py $out/bin/

mkdir -p $out/share/${pname}
cp -r dashboard README.md $out/share/${pname}/
mkdir -p $out/share/bitcoin-prometheus-exporter
cp -r dashboard README.md $out/share/bitcoin-prometheus-exporter/
'';

meta = {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/pr/prometheus-cloudflare-exporter/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildGoModule rec {

src = fetchFromGitHub {
owner = "lablabs";
repo = pname;
repo = "cloudflare-exporter";
tag = "cloudflare-exporter-${version}";
sha256 = "sha256-rfnAGBuY6HoWzZkYp9u+Ee3xhWb6Se2RkkSIWBvjUYY=";
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/pr/prometheus-flow-exporter/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildGoModule rec {
src = fetchFromGitHub {
rev = "v${version}";
owner = "neptune-networks";
repo = pname;
repo = "flow-exporter";
sha256 = "sha256-6FqupoYWRvex7XhM7ly8f7ICnuS9JvCRIVEBIJe+64k=";
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ buildGoModule rec {

src = fetchFromGitHub {
owner = "mvisonneau";
repo = pname;
repo = "gitlab-ci-pipelines-exporter";
rev = "v${version}";
sha256 = "sha256-r/6tRecbLN9bX2+HYyk4tT0uNiAqtZwMoMMQUJ7niJI=";
};

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

ldflags = [
"-X main.version=v${version}"
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/pr/prometheus-nats-exporter/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildGoModule rec {

src = fetchFromGitHub {
owner = "nats-io";
repo = pname;
repo = "prometheus-nats-exporter";
rev = "v${version}";
sha256 = "sha256-siucc55qi1SS2R07xgxh25CWYjxncUqvzxo0XoIPyOo=";
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/pr/prometheus-php-fpm-exporter/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ buildGoModule rec {

src = fetchFromGitHub {
owner = "hipages";
repo = pname;
repo = "php-fpm_exporter";
rev = "v${version}";
hash = "sha256-ggrFnyEdGBoZVh4dHMw+7RUm8nJ1hJXo/fownO3wvzE=";
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/pr/prometheus-pihole-exporter/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildGoModule rec {

src = fetchFromGitHub {
owner = "eko";
repo = pname;
repo = "pihole-exporter";
rev = "v${version}";
sha256 = "sha256-ge4+sWQkJ2Zc7Y7+IYAq6OK6pYkaE3jjFo1rhTaDMu4=";
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/pr/prometheus-process-exporter/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildGoModule rec {

src = fetchFromGitHub {
owner = "ncabatoff";
repo = pname;
repo = "process-exporter";
rev = "v${version}";
sha256 = "sha256-dxXBhrZdYM+mH73K/cdaSmfzbzZaPJYCTzcfXGYMlyY=";
};
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/pr/prometheus-sabnzbd-exporter/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ python3Packages.buildPythonApplication rec {

src = fetchFromGitHub {
owner = "msroest";
repo = pname;
repo = "sabnzbd_exporter";
tag = version;
hash = "sha256-9oL9Zbzzbr0hZjOdkaH86Tho6gaR+/6uAMreLwYzB8o=";
};
Expand All @@ -29,8 +29,8 @@ python3Packages.buildPythonApplication rec {
mkdir -p $out/bin
cp sabnzbd_exporter.py $out/bin/

mkdir -p $out/share/${pname}
cp examples/* $out/share/${pname}/
mkdir -p $out/share/sabnzbd_exporter
cp examples/* $out/share/sabnzbd_exporter/

runHook postInstall
'';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/pr/prometheus-script-exporter/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildGoModule rec {

src = fetchFromGitHub {
owner = "ricoberger";
repo = pname;
repo = "script_exporter";
rev = "v${version}";
hash = "sha256-TanhxXQYiMVkY89TfuzlHNrExe0u6FCPUlmuLgCN1RQ=";
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/pr/prometheus-sql-exporter/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildGoModule rec {

src = fetchFromGitHub {
owner = "justwatchcom";
repo = pname;
repo = "sql_exporter";
rev = "v${version}";
sha256 = "sha256-fbPjUMSDNqF8TPnhRaTgIRsuTcHhaRkTND9KdCwaCUI=";
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/pr/prometheus-systemd-exporter/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildGoModule rec {

src = fetchFromGitHub {
owner = "prometheus-community";
repo = pname;
repo = "systemd_exporter";
rev = "v${version}";
sha256 = "sha256-wWXtAyQ48fsh/9BBo2tHXf4QS3Pbsmj6rha28TdBRWI=";
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/pr/prometheus-xmpp-alerts/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ python3Packages.buildPythonApplication rec {

src = fetchFromGitHub {
owner = "jelmer";
repo = pname;
repo = "prometheus-xmpp-alerts";
rev = "v${version}";
sha256 = "sha256-kXcadJnPPhMKF/1CHMLdGCqWouAKDBFTdvPpn80yK4A=";
};
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/pr/prometheus-zfs-exporter/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildGoModule rec {

src = fetchFromGitHub {
owner = "pdf";
repo = pname;
repo = "zfs_exporter";
rev = "v" + version;
hash = "sha256-4nuZhPqBqGOR5zM1yyxPD0M4bVZNaIm72uSus6CvCrU=";
};
Expand All @@ -28,7 +28,7 @@ buildGoModule rec {
];

postInstall = ''
install -Dm444 -t $out/share/doc/${pname} *.md
install -Dm444 -t $out/share/doc/zfs_exporter *.md
'';

meta = {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/sc/scopehal-apps/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ let
version = "0.1.1";
in
stdenv.mkDerivation {
pname = "${pname}";
pname = "scopehal-apps";
version = "${version}";

src = fetchFromGitHub {
owner = "ngscopeclient";
repo = "${pname}";
repo = "scopehal-apps";
tag = "v${version}";
hash = "sha256-7ZXfxfRa+1fbMj2IDF/boNL/qCy4i9IyMnzIgOZunDw=";
fetchSubmodules = true;
Expand Down
Loading