markdown-pp: Change to python3 to fix watchdog dependency
This commit is contained in:
parent
963299d8fc
commit
a87d941bd7
|
@ -1,13 +1,15 @@
|
||||||
{ fetchFromGitHub, pythonPackages, lib }:
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, python3
|
||||||
|
}:
|
||||||
|
|
||||||
with pythonPackages;
|
python3.pkgs.buildPythonApplication rec {
|
||||||
buildPythonApplication rec {
|
|
||||||
pname = "MarkdownPP";
|
pname = "MarkdownPP";
|
||||||
version = "1.5.1";
|
version = "1.5.1";
|
||||||
propagatedBuildInputs = [ pillow watchdog ];
|
propagatedBuildInputs = with python3.pkgs; [ pillow watchdog ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
cd test
|
cd test
|
||||||
PATH=$out/bin:$PATH ${python}/bin/${python.executable} test.py
|
PATH=$out/bin:$PATH ${python3}/bin/${python3.executable} test.py
|
||||||
'';
|
'';
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jreese";
|
owner = "jreese";
|
||||||
|
|
Loading…
Reference in a new issue