mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
add libcap_ng
This commit is contained in:
parent
07d26cea06
commit
f6b28fad73
22
pkgs/os-specific/linux/libcap-ng/default.nix
Normal file
22
pkgs/os-specific/linux/libcap-ng/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv, fetchurl, python }:
|
||||||
|
|
||||||
|
assert stdenv.isLinux;
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libcap-ng-${version}";
|
||||||
|
version = "0.7.3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "${meta.homepage}/${name}.tar.gz";
|
||||||
|
sha256 = "1cavlcrpqi4imkmagjhw65br8rv2fsbhf68mm3lczr51sg44392w";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ python ]; # ToDo? optional swig for python bindings
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Library for working with POSIX capabilities";
|
||||||
|
homepage = http://people.redhat.com/sgrubb/libcap-ng/;
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
license = "LGPLv2.1";
|
||||||
|
};
|
||||||
|
}
|
@ -6060,6 +6060,8 @@ let
|
|||||||
|
|
||||||
libcap_manpages = callPackage ../os-specific/linux/libcap/man.nix { };
|
libcap_manpages = callPackage ../os-specific/linux/libcap/man.nix { };
|
||||||
|
|
||||||
|
libcap_ng = callPackage ../os-specific/linux/libcap-ng { };
|
||||||
|
|
||||||
libnscd = callPackage ../os-specific/linux/libnscd { };
|
libnscd = callPackage ../os-specific/linux/libnscd { };
|
||||||
|
|
||||||
libnotify = callPackage ../development/libraries/libnotify { };
|
libnotify = callPackage ../development/libraries/libnotify { };
|
||||||
|
Loading…
Reference in New Issue
Block a user