3
0
Fork 0
forked from mirrors/nixpkgs

sc-controller: 0.4.4 -> 0.4.5

(cherry picked from commit 0459a8c8db)
Backport of #49543
This commit is contained in:
Tristan Helmich (omniIT) 2018-10-31 19:28:55 +01:00 committed by Sarah Brofeldt
parent 89fb76c51c
commit b1e74c01f6

View file

@ -7,13 +7,13 @@
buildPythonApplication rec {
pname = "sc-controller";
version = "0.4.4";
version = "0.4.5";
src = fetchFromGitHub {
owner = "kozec";
repo = pname;
rev = "v${version}";
sha256 = "0ki9x28i5slpnygkpdglcvj8cssvvjyz732y1cnpzw1f0sj0kris";
sha256 = "0mb9r4811rfj5rs4vrdhaf3x38iy1fvxr4sk2zg3xhvc29cdf5wv";
};
nativeBuildInputs = [ wrapGAppsHook ];
@ -24,10 +24,6 @@ buildPythonApplication rec {
checkInputs = [ pytest ];
patches = [
./fix-udev.patch # fix upstream issue #401, remove with the next update
];
postPatch = ''
substituteInPlace scc/paths.py --replace sys.prefix "'$out'"
substituteInPlace scc/uinput.py --replace /usr/include ${linuxHeaders}/include