diff options
Diffstat (limited to 'nixpkgs/pkgs/os-specific/linux/libcap-ng/default.nix')
-rw-r--r-- | nixpkgs/pkgs/os-specific/linux/libcap-ng/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/os-specific/linux/libcap-ng/default.nix b/nixpkgs/pkgs/os-specific/linux/libcap-ng/default.nix new file mode 100644 index 000000000000..59aa5bbc0e5d --- /dev/null +++ b/nixpkgs/pkgs/os-specific/linux/libcap-ng/default.nix @@ -0,0 +1,24 @@ +{ lib, stdenv, fetchurl }: + +stdenv.mkDerivation rec { + pname = "libcap-ng"; + version = "0.8.4"; + + src = fetchurl { + url = "https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${version}.tar.gz"; + sha256 = "sha256-aFgdOzjnVTy29t33gTsfyZ5ShW8hQh97R3zlq9JgWoo="; + }; + + outputs = [ "out" "dev" "man" ]; + + configureFlags = [ + "--without-python" + ]; + + meta = with lib; { + description = "Library for working with POSIX capabilities"; + homepage = "https://people.redhat.com/sgrubb/libcap-ng/"; + platforms = platforms.linux; + license = licenses.lgpl21; + }; +} |