1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/tools/filesystems/mtdutils/default.nix
Lluís Batlle i Rossell 060714f287 Adding mtdutils
svn path=/nixpkgs/trunk/; revision=21436
2010-04-29 17:54:51 +00:00

29 lines
635 B
Nix

{stdenv, fetchgit, libuuid, lzo, zlib, acl}:
let
version = "v1.3.1";
in
stdenv.mkDerivation {
name = "mtd-utils-${version}";
src = fetchgit {
url = git://git.infradead.org/mtd-utils.git;
rev = version;
sha256 = "0pjjs9x03bgvphqwlw99c2cpkpjsx0vkqi79vjl7fcb9pyrghgd1";
};
preBuild = ''
makeFlags="DESTDIR=$out"
'';
buildInputs = [ libuuid lzo zlib acl ];
meta = {
description = "Tools for MTD filesystems";
license = "GPLv2+";
homepage = http://www.linux-mtd.infradead.org/;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}