1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/os-specific/linux/libsemanage/default.nix
Evgeny Egorochkin f1201cf75f libsemanage: packaged
svn path=/nixpkgs/trunk/; revision=26541
2011-03-27 04:46:12 +00:00

25 lines
728 B
Nix

{ stdenv, fetchurl, libsepol, libselinux, ustr, bzip2, bison, flex }:
stdenv.mkDerivation rec {
name = "libsemanage-${version}";
version = "2.0.46";
src = fetchurl {
url = "http://userspace.selinuxproject.org/releases/20101221/devel/${name}.tar.gz";
sha256 = "03ljdw48pn8vlk4h26w8z247c9wykp2198s1ksmxrai3avyz87wf";
};
NIX_LDFLAGS = "-lsepol";
makeFlags = "PREFIX=$(out) DESTDIR=$(out)";
buildInputs = [ libsepol libselinux ustr bzip2 bison flex ];
meta = with stdenv.lib; {
homepage = http://userspace.selinuxproject.org/;
description = "Policy management tools for SELinux";
license = licenses.lgpl21;
maintainers = [ maintainers.phreedom ];
platforms = platforms.linux;
};
}