diff --git a/pkgs/tools/misc/quota/default.nix b/pkgs/tools/misc/quota/default.nix new file mode 100644 index 000000000000..9ba138bf0e9d --- /dev/null +++ b/pkgs/tools/misc/quota/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, e2fsprogs, openldap, pkgconfig }: + +stdenv.mkDerivation rec { + version = "4.03"; + name = "quota-${version}"; + + src = fetchurl { + url = "mirror://sourceforge/linuxquota/quota-${version}.tar.gz"; + sha256 = "0jv7vhxhjp3gc4hwgmrhg448sbzzqib80gdas9nm0c5zwyd4sv4w"; + }; + + outputs = [ "out" "dev" "doc" "man" ]; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ e2fsprogs openldap ]; + + meta = with stdenv.lib; { + description = "Tools to manage kernel-level quotas in Linux"; + homepage = http://sourceforge.net/projects/linuxquota/; + license = licenses.gpl2; # With some files being BSD as an exception + platforms = platforms.linux; + maintainers = [ maintainers.dezgeg ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 90f95034b1ae..110b79fce59e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3918,6 +3918,8 @@ with pkgs; quilt = callPackage ../development/tools/quilt { }; + quota = callPackage ../tools/misc/quota { }; + wiggle = callPackage ../development/tools/wiggle { }; radamsa = callPackage ../tools/security/radamsa { };