nixpkgs/pkgs/os-specific/linux/device-mapper/default.nix
Eelco Dolstra 8f4d8573c0 * Fix a bunch of URLs.
svn path=/nixpkgs/trunk/; revision=9292
2007-09-11 10:15:07 +00:00

13 lines
399 B
Nix

{stdenv, fetchurl, static ? false}:
stdenv.mkDerivation {
name = "device-mapper-1.02.22";
src = fetchurl {
url = ftp://sources.redhat.com/pub/dm/device-mapper.1.02.22.tgz;
sha256 = "158mnspws143wrgrx4h81z3gn7vzb7b2ysgmngsqcri4srn3m0zz";
};
configureFlags = if static then "--enable-static_link" else "";
# To prevent make install from failing.
installFlags = "OWNER= GROUP=";
}