summary refs log blame commit diff
path: root/pkgs/tools/misc/linuxquota/default.nix
blob: b5fc42be82dc7f9720e4bad3bc339cd50c10c85c (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                           

                         
                   
                  


                                                                    
                                                                   



                                        
                                     

                                       
                    
                                                                 
                                                              




                                                                        
{ lib, stdenv, fetchurl, e2fsprogs, openldap, pkg-config }:

stdenv.mkDerivation rec {
  version = "4.09";
  pname = "quota";

  src = fetchurl {
    url = "mirror://sourceforge/linuxquota/quota-${version}.tar.gz";
    sha256 = "sha256-nNrKFUvJKvwxF/Dl9bMgjdX4RYOvHPBhw5uqCiuxQvk=";
  };

  outputs = [ "out" "dev" "doc" "man" ];

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ e2fsprogs openldap ];

  meta = with 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 ];
  };
}