summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-07-25 14:24:25 +0300
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-07-25 17:29:21 +0300
commitb3b1ae67e58b7ea7a6cfa9f22e55d24bd003e3d9 (patch)
tree5bc8f783281703793591928c407db69406d746bd /pkgs
parent4a4a33ff8892293006b407aad836d5a3544e638c (diff)
downloadnixpkgs-b3b1ae67e58b7ea7a6cfa9f22e55d24bd003e3d9.tar
nixpkgs-b3b1ae67e58b7ea7a6cfa9f22e55d24bd003e3d9.tar.gz
nixpkgs-b3b1ae67e58b7ea7a6cfa9f22e55d24bd003e3d9.tar.bz2
nixpkgs-b3b1ae67e58b7ea7a6cfa9f22e55d24bd003e3d9.tar.lz
nixpkgs-b3b1ae67e58b7ea7a6cfa9f22e55d24bd003e3d9.tar.xz
nixpkgs-b3b1ae67e58b7ea7a6cfa9f22e55d24bd003e3d9.tar.zst
nixpkgs-b3b1ae67e58b7ea7a6cfa9f22e55d24bd003e3d9.zip
quota: init at 4.03
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/misc/quota/default.nix24
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/misc/quota/default.nix b/pkgs/tools/misc/quota/default.nix
new file mode 100644
index 00000000000..9ba138bf0e9
--- /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 90f95034b1a..110b79fce59 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 { };