summary refs log tree commit diff
diff options
context:
space:
mode:
authorDima <dgoldin+github@protonmail.ch>2019-09-14 02:34:35 +0200
committerDima <dgoldin+github@protonmail.ch>2019-09-14 03:18:59 +0200
commitafc4110dac85dbdb1fb503aa956561e88b458054 (patch)
tree0c7209338c0b54c6a0446b8f541013db18d129cf
parent700cc56a0e7e1daf7410420ac66978ae3225fbb2 (diff)
downloadnixpkgs-afc4110dac85dbdb1fb503aa956561e88b458054.tar
nixpkgs-afc4110dac85dbdb1fb503aa956561e88b458054.tar.gz
nixpkgs-afc4110dac85dbdb1fb503aa956561e88b458054.tar.bz2
nixpkgs-afc4110dac85dbdb1fb503aa956561e88b458054.tar.lz
nixpkgs-afc4110dac85dbdb1fb503aa956561e88b458054.tar.xz
nixpkgs-afc4110dac85dbdb1fb503aa956561e88b458054.tar.zst
nixpkgs-afc4110dac85dbdb1fb503aa956561e88b458054.zip
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.
-rw-r--r--pkgs/os-specific/linux/setools/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/setools/default.nix b/pkgs/os-specific/linux/setools/default.nix
index 1e82c492159..138b54b0224 100644
--- a/pkgs/os-specific/linux/setools/default.nix
+++ b/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
 }:
@@ -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 ];