mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03: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=";
|
|
}
|