mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 06:17:28 +00:00
setools: 4.3.0 -> 4.4.0
This commit is contained in:
parent
ae3ffded45
commit
20fd3b1002
@ -1,6 +1,5 @@
|
||||
{ lib, fetchFromGitHub, python3
|
||||
, libsepol, libselinux, checkpolicy
|
||||
, fetchpatch
|
||||
, withGraphics ? false
|
||||
}:
|
||||
|
||||
@ -9,22 +8,15 @@ with python3.pkgs;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "setools";
|
||||
version = "4.3.0";
|
||||
version = "4.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SELinuxProject";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0vr20bi8w147z5lclqz1l0j1b34137zg2r04pkafkgqqk7qbyjk6";
|
||||
sha256 = "1qvd5j6zwq4fmlahg45swjplhif2z89x7s6pnp07gvcp2fbqdsh5";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch { # included in 4.4.0
|
||||
url = "https://github.com/SELinuxProject/setools/commit/f1b4a5d375be05fbccedb258c940d771bff8e524.diff";
|
||||
sha256 = "1r38s6i4i6bdr2zdp5wcg1yifpf3pd018c73a511mgynyg7d11xy";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
buildInputs = [ libsepol ];
|
||||
propagatedBuildInputs = [ enum34 libselinux networkx ]
|
||||
|
Loading…
Reference in New Issue
Block a user