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