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