Merge pull request #49543 from fadenb/sc-controller_0.4.5

sc-controller: 0.4.4 -> 0.4.5
This commit is contained in:
Sarah Brofeldt 2018-11-01 09:31:58 +01:00 committed by GitHub
commit 452ad42005
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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