mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Adding mtdutils
svn path=/nixpkgs/trunk/; revision=21436
This commit is contained in:
parent
b3224edee3
commit
060714f287
2 changed files with 32 additions and 0 deletions
28
pkgs/tools/filesystems/mtdutils/default.nix
Normal file
28
pkgs/tools/filesystems/mtdutils/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{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;
|
||||
};
|
||||
}
|
|
@ -1109,6 +1109,10 @@ let
|
|||
inherit fetchurl stdenv gettext;
|
||||
};
|
||||
|
||||
mtdutils = import ../tools/filesystems/mtdutils {
|
||||
inherit stdenv fetchgit libuuid lzo zlib acl;
|
||||
};
|
||||
|
||||
multitran = recurseIntoAttrs (let
|
||||
inherit fetchurl stdenv help2man;
|
||||
in rec {
|
||||
|
|
Loading…
Reference in a new issue