nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 21 lines 386 B view raw
1{ rustPlatform }: 2 3rustPlatform.buildRustPackage { 4 pname = "git-dependency-branch"; 5 version = "0.1.0"; 6 7 src = ./package; 8 9 cargoLock = { 10 lockFile = ./package/Cargo.lock; 11 outputHashes = { 12 "rand-0.8.4" = "1ilk9wvfw3mdm57g199ys8f5nrgdrh0n3a4c8b7nz6lgnqvfrv6z"; 13 }; 14 }; 15 16 doInstallCheck = true; 17 18 installCheckPhase = '' 19 $out/bin/git-dependency-branch 20 ''; 21}