rescrobbled: 0.7.1 -> 0.7.2 (#409540)

authored by Peder Bergebakken Sundt and committed by GitHub 55fe72e1 534ea25e

+6 -6
+6 -6
pkgs/by-name/re/rescrobbled/package.nix
··· 1 1 { 2 2 lib, 3 - bash, 3 + dash, 4 4 fetchFromGitHub, 5 5 rustPlatform, 6 6 pkg-config, ··· 11 11 rustPlatform.buildRustPackage rec { 12 12 13 13 pname = "rescrobbled"; 14 - version = "0.7.1"; 14 + version = "0.7.2"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "InputUsername"; 18 18 repo = "rescrobbled"; 19 19 rev = "v${version}"; 20 - hash = "sha256-1E+SeKjHCah+IFn2QLAyyv7jgEcZ1gtkh8iHgiVBuz4="; 20 + hash = "sha256-HWv0r0eqzY4q+Q604ZIkdhnjmCGX+L6HHXa6iCtH2KE="; 21 21 }; 22 22 23 23 useFetchCargoVendor = true; 24 - cargoHash = "sha256-oXj3pMT7lBcj/cNa6FY8ehr9TVSRUwqW3B4g5VeyH2w="; 24 + cargoHash = "sha256-zZqDbXIXuNX914EmeSv3hZFnpjYzYdYZk7av3W60YuM="; 25 25 26 26 nativeBuildInputs = [ pkg-config ]; 27 27 ··· 32 32 33 33 postPatch = '' 34 34 # Required for tests 35 - substituteInPlace src/filter.rs --replace '#!/usr/bin/bash' '#!${bash}/bin/bash' 35 + substituteInPlace src/filter.rs --replace-fail '#!/usr/bin/env sh' '#!${dash}/bin/dash' 36 36 ''; 37 37 38 38 postInstall = '' 39 - substituteInPlace rescrobbled.service --replace '%h/.cargo/bin/rescrobbled' "$out/bin/rescrobbled" 39 + substituteInPlace rescrobbled.service --replace-fail '%h/.cargo/bin/rescrobbled' "$out/bin/rescrobbled" 40 40 install -Dm644 rescrobbled.service -t "$out/share/systemd/user" 41 41 ''; 42 42