mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
fetchbzr: support hash
attribute
This commit is contained in:
parent
1ccd5ba540
commit
fb8a85e2bb
@ -1,15 +1,16 @@
|
||||
{ stdenvNoCC, breezy }:
|
||||
{ url, rev, sha256 }:
|
||||
{ lib, stdenvNoCC, breezy }:
|
||||
lib.fetchers.withNormalizedHash { } (
|
||||
{ url, rev, outputHash, outputHashAlgo }:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "bzr-export";
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "bzr-export";
|
||||
|
||||
builder = ./builder.sh;
|
||||
nativeBuildInputs = [ breezy ];
|
||||
builder = ./builder.sh;
|
||||
nativeBuildInputs = [ breezy ];
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = sha256;
|
||||
inherit outputHash outputHashAlgo;
|
||||
outputHashMode = "recursive";
|
||||
|
||||
inherit url rev;
|
||||
}
|
||||
inherit url rev;
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user