mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
8f413d8a44
Lore overrides have been included with binlore's source up to now, but this hasn't worked very well. (It isn't as easy to self-service for people working in nixpkgs, and its use of partial pnames for matching breaks down around some edge cases like version numbers appearing early in perl pnames, or multiple packages having identical pnames.)
29 lines
833 B
Nix
29 lines
833 B
Nix
{ lib, stdenv, fetchurl, e2fsprogs, openldap, pkg-config, binlore, linuxquota }:
|
|
|
|
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 ];
|
|
|
|
passthru.binlore.out = binlore.synthesize linuxquota ''
|
|
execer cannot bin/quota
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Tools to manage kernel-level quotas in Linux";
|
|
homepage = "https://sourceforge.net/projects/linuxquota/";
|
|
license = licenses.gpl2Plus; # With some files being BSD as an exception
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.dezgeg ];
|
|
};
|
|
}
|