mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
8f4d8573c0
svn path=/nixpkgs/trunk/; revision=9292
13 lines
399 B
Nix
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=";
|
|
}
|