Skip to content

Commit

Permalink
setools: 4.2.0 -> 4.2.2 and fixing build
Browse files Browse the repository at this point in the history
The build was broken because meanwhile setools requires cython
and no bison, swig and flex anymore.

Also, bumping version to newest release, which is not directly related
to the build breakage.

(cherry picked from commit afc4110)
  • Loading branch information
d-goldin authored and worldofpeace committed Sep 17, 2019
1 parent 3a16352 commit 28e5cee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/os-specific/linux/setools/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, bison, flex, python3 , swig
{ stdenv, fetchFromGitHub, python3
, libsepol, libselinux, checkpolicy
, withGraphics ? false
}:
Expand All @@ -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 ];
Expand Down

0 comments on commit 28e5cee

Please sign in to comment.