nixpkgs/pkgs/applications/version-management/darcs/darcs-2.nix
Marc Weber d827e4f16f updated darcs2 to last release (2.1.0pre3) which fixed some http download problems.
Also adding assertion to force users to switch to darcs-2 unless they really want to keep using darcs-1

svn path=/nixpkgs/trunk/; revision=13038
2008-10-09 22:58:14 +00:00

20 lines
473 B
Nix

{stdenv, fetchurl, ghc, zlib, ncurses, curl, perl}:
stdenv.mkDerivation {
name = "darcs-2.1.0pre3";
src = fetchurl {
url = http://www.darcs.net/darcs-2.1.0pre3.tar.gz;
sha256 = "a4b63c16a20edef3e1dc06db29211b7272b51e6ef10e12924e6515fb71f58303";
};
buildInputs = [ghc zlib ncurses curl perl];
NIX_LDFLAGS = "-lz";
meta = {
description = "Patch-based version management system";
};
patches = ./bash-completion.patch; # I didn't have "have"
}