Merge pull request #68728 from d-goldin/fix_setools_build

setools: 4.2.0 -> 4.2.2 and fixing build
This commit is contained in:
worldofpeace 2019-09-17 07:44:40 -04:00 committed by GitHub
commit 83686eb1fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, bison, flex, python3 , swig
{ stdenv, fetchFromGitHub, python3
, libsepol, libselinux, checkpolicy
, withGraphics ? false
}:
@ -8,16 +8,16 @@ with python3.pkgs;
buildPythonApplication rec {
pname = "setools";
version = "4.2.0";
version = "4.2.2";
src = fetchFromGitHub {
owner = "SELinuxProject";
repo = pname;
rev = version;
sha256 = "1bjwcvr6rjx79cdcvaxn68bdrnl4f2a8gnnqsngdxhkhwpddksjy";
sha256 = "18kklv26dwm2fdjjzfflvxsq83b2svnwf4g18xq7wsfsri121a90";
};
nativeBuildInputs = [ bison flex swig ];
nativeBuildInputs = [ cython ];
buildInputs = [ libsepol ];
propagatedBuildInputs = [ enum34 libselinux networkx ]
++ optionals withGraphics [ pyqt5 ];