depot/pkgs/os-specific/linux/libcap-ng/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

24 lines
579 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "libcap-ng";
version = "0.8.5";
src = fetchurl {
url = "https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${version}.tar.gz";
hash = "sha256-O6UpTRy9+pivqs+8ALavntK4PoohgXGF39hEzIx6xv8=";
};
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;
};
}