From 04bd6b060775ae7c0ade3aa8c451d0ee25fb2e01 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Tue, 4 Sep 2007 12:45:00 +0000 Subject: [PATCH] commented out avrdude which is using unstable lib functions, missing fetchhg expression added svn path=/nixpkgs/trunk/; revision=9249 --- pkgs/build-support/fetchhg/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pkgs/build-support/fetchhg/default.nix diff --git a/pkgs/build-support/fetchhg/default.nix b/pkgs/build-support/fetchhg/default.nix new file mode 100644 index 000000000000..a7696458856c --- /dev/null +++ b/pkgs/build-support/fetchhg/default.nix @@ -0,0 +1,16 @@ +{stdenv, mercurial, nix}: {url, tag ? null, md5}: + +stdenv.mkDerivation { + name = "fetchdarcs"; + builder = ./builder.sh; + buildInputs = [mercurial nix]; + + # Nix <= 0.7 compatibility. + id = md5; + + outputHashAlgo = "md5"; + outputHashMode = "recursive"; + outputHash = md5; + + inherit url tag; +}