pythonPackages.pywal: fix expression
This commit is contained in:
parent
b7d4a356be
commit
a9a28e9236
@ -1,10 +1,10 @@
|
|||||||
{ lib, python3Packages, imagemagick, feh }:
|
{ lib, buildPythonPackage, fetchPypi, imagemagick, feh, isPy3k }:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
buildPythonPackage rec {
|
||||||
pname = "pywal";
|
pname = "pywal";
|
||||||
version = "3.2.1";
|
version = "3.2.1";
|
||||||
|
|
||||||
src = python3Packages.fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1pj30h19ijwhmbm941yzbkgr19q06dhp9492h9nrqw1wfjfdbdic";
|
sha256 = "1pj30h19ijwhmbm941yzbkgr19q06dhp9492h9nrqw1wfjfdbdic";
|
||||||
};
|
};
|
||||||
@ -19,6 +19,9 @@ python3Packages.buildPythonApplication rec {
|
|||||||
./feh.patch
|
./feh.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Invalid syntax
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pywal/backends/wal.py --subst-var-by convert "${imagemagick}/bin/convert"
|
substituteInPlace pywal/backends/wal.py --subst-var-by convert "${imagemagick}/bin/convert"
|
||||||
substituteInPlace pywal/wallpaper.py --subst-var-by feh "${feh}/bin/feh"
|
substituteInPlace pywal/wallpaper.py --subst-var-by feh "${feh}/bin/feh"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user