Loading pkgs/by-name/el/electrs/package.nix +9 −7 Original line number Diff line number Diff line Loading @@ -8,19 +8,21 @@ let rocksdb = rocksdb_7_10; in rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "electrs"; version = "0.10.9"; version = "0.10.10"; src = fetchFromGitHub { owner = "romanz"; repo = "electrs"; rev = "v${version}"; hash = "sha256-Xo7aqP4tIh/kYthPucscxnl+ZtVioEja4TTFdH0Q350="; rev = "v${finalAttrs.version}"; hash = "sha256-FSsTo2m88U7t6wMXaSuYhF5bCMRq11EBQsq6uiMdF7c="; }; useFetchCargoVendor = true; cargoHash = "sha256-wDEtVsgkddGv89tTy96wYzNWVicn34Gxi+YAo7yAfQA="; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; hash = "sha256-hVPtnMqaFH+1QJ52ZG9vZ3clsMTsEpvF5JjTKWoKSPE="; }; # needed for librocksdb-sys nativeBuildInputs = [ rustPlatform.bindgenHook ]; Loading @@ -38,4 +40,4 @@ rustPlatform.buildRustPackage rec { maintainers = with maintainers; [ prusnak ]; mainProgram = "electrs"; }; } }) pkgs/by-name/el/electrs/update.sh +3 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ #!nix-shell -i bash -p coreutils curl jq git gnupg common-updater-scripts set -euo pipefail trap 'echo "Error at ${BASH_SOURCE[0]}:$LINENO"' ERR # Fetch latest release, GPG-verify the tag, update derivation scriptDir=$(cd "${BASH_SOURCE[0]%/*}" && pwd) Loading Loading @@ -34,6 +36,6 @@ git -C $repo verify-tag v${version} rm -rf $repo/.git hash=$(nix --extra-experimental-features nix-command hash path $repo) (cd "$nixpkgs" && update-source-version electrs "$version" "$hash" && update-source-version electrs --ignore-same-version --source-key=cargoDeps) (cd "$nixpkgs" && update-source-version electrs "$version" "$hash" && update-source-version electrs --ignore-same-version --source-key=cargoDeps.vendorStaging) echo echo "electrs: $oldVersion -> $version" Loading
pkgs/by-name/el/electrs/package.nix +9 −7 Original line number Diff line number Diff line Loading @@ -8,19 +8,21 @@ let rocksdb = rocksdb_7_10; in rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "electrs"; version = "0.10.9"; version = "0.10.10"; src = fetchFromGitHub { owner = "romanz"; repo = "electrs"; rev = "v${version}"; hash = "sha256-Xo7aqP4tIh/kYthPucscxnl+ZtVioEja4TTFdH0Q350="; rev = "v${finalAttrs.version}"; hash = "sha256-FSsTo2m88U7t6wMXaSuYhF5bCMRq11EBQsq6uiMdF7c="; }; useFetchCargoVendor = true; cargoHash = "sha256-wDEtVsgkddGv89tTy96wYzNWVicn34Gxi+YAo7yAfQA="; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; hash = "sha256-hVPtnMqaFH+1QJ52ZG9vZ3clsMTsEpvF5JjTKWoKSPE="; }; # needed for librocksdb-sys nativeBuildInputs = [ rustPlatform.bindgenHook ]; Loading @@ -38,4 +40,4 @@ rustPlatform.buildRustPackage rec { maintainers = with maintainers; [ prusnak ]; mainProgram = "electrs"; }; } })
pkgs/by-name/el/electrs/update.sh +3 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ #!nix-shell -i bash -p coreutils curl jq git gnupg common-updater-scripts set -euo pipefail trap 'echo "Error at ${BASH_SOURCE[0]}:$LINENO"' ERR # Fetch latest release, GPG-verify the tag, update derivation scriptDir=$(cd "${BASH_SOURCE[0]%/*}" && pwd) Loading Loading @@ -34,6 +36,6 @@ git -C $repo verify-tag v${version} rm -rf $repo/.git hash=$(nix --extra-experimental-features nix-command hash path $repo) (cd "$nixpkgs" && update-source-version electrs "$version" "$hash" && update-source-version electrs --ignore-same-version --source-key=cargoDeps) (cd "$nixpkgs" && update-source-version electrs "$version" "$hash" && update-source-version electrs --ignore-same-version --source-key=cargoDeps.vendorStaging) echo echo "electrs: $oldVersion -> $version"