Merge pull request #265131 from onemoresuza/aba

aba: 0.7.0 -> 0.7.1

authored by

Guillaume Girol and committed by
GitHub
a2c96b4b 90fb12b7

+18 -11
+18 -11
pkgs/by-name/ab/aba/package.nix
··· 6 6 , scdoc 7 7 }: 8 8 let 9 - version = "0.7.0"; 9 + version = "0.7.1"; 10 10 in 11 11 rustPlatform.buildRustPackage { 12 12 pname = "aba"; ··· 16 16 owner = "~onemoresuza"; 17 17 repo = "aba"; 18 18 rev = version; 19 - hash = "sha256-YPE5HYa90BcNy5jdYbzkT81KavJcbSeGrsWRILnIiEE="; 19 + hash = "sha256-Sz9I1Dw7wmoUPpTBNfbYbehfNO8FK6r/ubofx+FGb04="; 20 20 domain = "sr.ht"; 21 21 }; 22 22 23 - cargoSha256 = "sha256-wzI+UMcVeFQNFlWDkyxk8tjpU7beNRKoPYbid8b15/Q="; 23 + cargoSha256 = "sha256-Ihoh+yp12qN74JHvJbEDoYz+eoMwPOQar+yBEy+bqb0="; 24 24 25 25 nativeBuildInputs = [ 26 26 just 27 27 scdoc 28 28 ]; 29 29 30 + postPatch = '' 31 + # Suppress messages of command not found. jq is not needed for the build, but just calls it anyway. 32 + sed -i '/[[:space:]]*|[[:space:]]*jq -r/s/jq -r .*/: \\/' ./justfile 33 + # Let only nix strip the binary by disabling cargo's `strip = true`, like buildRustPackage does. 34 + sed -i '/strip[[:space:]]*=[[:space:]]*true/s/true/false/' ./Cargo.toml 35 + ''; 36 + 37 + preBuild = '' 38 + justFlagsArray+=( 39 + PREFIX=${builtins.placeholder "out"} 40 + MANIFEST_OPTS="--frozen --locked --profile=release" 41 + INSTALL_OPTS=--no-track 42 + ) 43 + ''; 44 + 30 45 # There are no tests 31 46 doCheck = false; 32 - 33 - dontUseJustBuild = true; 34 47 dontUseJustCheck = true; 35 - dontUseJustInstall = true; 36 - 37 - postInstall = '' 38 - just --set PREFIX $out install-doc 39 - ''; 40 48 41 49 passthru.updateScript = nix-update-script { }; 42 50 ··· 47 55 downloadPage = "https://git.sr.ht/~onemoresuza/aba/refs/${version}"; 48 56 maintainers = with lib.maintainers; [ onemoresuza ]; 49 57 license = lib.licenses.isc; 50 - platforms = lib.platforms.unix; 51 58 mainProgram = "aba"; 52 59 }; 53 60 }