mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 08:48:21 +00:00
sepolgen: packaged
svn path=/nixpkgs/trunk/; revision=26539
This commit is contained in:
parent
28f7f1c192
commit
8113129d1a
22
pkgs/os-specific/linux/sepolgen/default.nix
Normal file
22
pkgs/os-specific/linux/sepolgen/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user