From 62315cf52a48ed78555856f5220d3136bc86a22b Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 13 Apr 2018 10:40:25 -0500 Subject: quota: rename to linuxquota --- pkgs/tools/misc/linuxquota/default.nix | 24 ++++++++++++++++++++++++ pkgs/tools/misc/quota/default.nix | 24 ------------------------ pkgs/top-level/all-packages.nix | 2 +- 3 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 pkgs/tools/misc/linuxquota/default.nix delete mode 100644 pkgs/tools/misc/quota/default.nix diff --git a/pkgs/tools/misc/linuxquota/default.nix b/pkgs/tools/misc/linuxquota/default.nix new file mode 100644 index 000000000000..dfcefe092008 --- /dev/null +++ b/pkgs/tools/misc/linuxquota/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, e2fsprogs, openldap, pkgconfig }: + +stdenv.mkDerivation rec { + version = "4.04"; + name = "quota-${version}"; + + src = fetchurl { + url = "mirror://sourceforge/linuxquota/quota-${version}.tar.gz"; + sha256 = "1pwfxza923j75z5lx0w89pj09745zi1swy77cm0zalbzgs4f2nvk"; + }; + + outputs = [ "out" "dev" "doc" "man" ]; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ e2fsprogs openldap ]; + + meta = with stdenv.lib; { + description = "Tools to manage kernel-level quotas in Linux"; + homepage = https://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/tools/misc/quota/default.nix b/pkgs/tools/misc/quota/default.nix deleted file mode 100644 index dfcefe092008..000000000000 --- a/pkgs/tools/misc/quota/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ stdenv, fetchurl, e2fsprogs, openldap, pkgconfig }: - -stdenv.mkDerivation rec { - version = "4.04"; - name = "quota-${version}"; - - src = fetchurl { - url = "mirror://sourceforge/linuxquota/quota-${version}.tar.gz"; - sha256 = "1pwfxza923j75z5lx0w89pj09745zi1swy77cm0zalbzgs4f2nvk"; - }; - - outputs = [ "out" "dev" "doc" "man" ]; - - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ e2fsprogs openldap ]; - - meta = with stdenv.lib; { - description = "Tools to manage kernel-level quotas in Linux"; - homepage = https://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 3fd53aefa54c..906394366a3a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4512,7 +4512,7 @@ with pkgs; quilt = callPackage ../development/tools/quilt { }; - quota = callPackage ../tools/misc/quota { }; + linuxquota = callPackage ../tools/misc/linuxquota { }; wiggle = callPackage ../development/tools/wiggle { }; -- cgit 1.4.1