nixpkgs-suyu/pkgs/applications/version-management/darcs/darcs-2.nix

17 lines
376 B
Nix
Raw Normal View History

{stdenv, fetchurl, ghc, zlib, ncurses, curl}:
stdenv.mkDerivation {
name = "darcs-2.0.0";
src = fetchurl {
url = http://darcs.net/darcs-2.0.0.tar.gz;
sha256 = "1admaglbf7i15x9pihncqj5iraqzcw801pf76f0pd2hbc2k0yx7x";
};
buildInputs = [ghc zlib ncurses curl];
NIX_LDFLAGS = "-lz";
meta = {
description = "Patch-based version management system";
};
}