1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/os-specific/linux/sepolgen/default.nix
Evgeny Egorochkin 8113129d1a sepolgen: packaged
svn path=/nixpkgs/trunk/; revision=26539
2011-03-27 04:45:56 +00:00

22 lines
706 B
Nix

{ stdenv, fetchurl, python }:
stdenv.mkDerivation rec {
name = "sepolgen-${version}";
version = "1.0.23";
src = fetchurl {
url = http://userspace.selinuxproject.org/releases/20101221/devel/sepolgen-1.0.23.tar.gz;
sha256 = "04d11l091iclp8lnay9as7y473ydrjz7171h95ddsbn0ihj5if2p";
};
buildInputs = [ python ];
preBuild = '' makeFlags="$makeFlags DESTDIR=$out PACKAGEDIR=$out/lib/${python.libPrefix}/site-packages/sepolgen" '';
meta = with stdenv.lib; {
homepage = http://userspace.selinuxproject.org/;
description = "Python module for SELinux policy generation";
license = licenses.gpl2;
maintainers = [ maintainers.phreedom ];
platforms = platforms.linux;
};
}