forked from mirrors/nixpkgs
setools: 4.2.0 -> 4.2.2 and fixing build
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.
This commit is contained in:
parent
700cc56a0e
commit
afc4110dac
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, bison, flex, python3 , swig
|
{ stdenv, fetchFromGitHub, python3
|
||||||
, libsepol, libselinux, checkpolicy
|
, libsepol, libselinux, checkpolicy
|
||||||
, withGraphics ? false
|
, withGraphics ? false
|
||||||
}:
|
}:
|
||||||
|
@ -8,16 +8,16 @@ with python3.pkgs;
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "setools";
|
pname = "setools";
|
||||||
version = "4.2.0";
|
version = "4.2.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "SELinuxProject";
|
owner = "SELinuxProject";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1bjwcvr6rjx79cdcvaxn68bdrnl4f2a8gnnqsngdxhkhwpddksjy";
|
sha256 = "18kklv26dwm2fdjjzfflvxsq83b2svnwf4g18xq7wsfsri121a90";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ bison flex swig ];
|
nativeBuildInputs = [ cython ];
|
||||||
buildInputs = [ libsepol ];
|
buildInputs = [ libsepol ];
|
||||||
propagatedBuildInputs = [ enum34 libselinux networkx ]
|
propagatedBuildInputs = [ enum34 libselinux networkx ]
|
||||||
++ optionals withGraphics [ pyqt5 ];
|
++ optionals withGraphics [ pyqt5 ];
|
||||||
|
|
Loading…
Reference in a new issue