markdown-pp: Change to python3 to fix watchdog dependency

This commit is contained in:
Stefan Frijters 2021-02-15 16:59:32 +01:00
parent 963299d8fc
commit a87d941bd7
No known key found for this signature in database
GPG key ID: 7619A6BC6E7DFA6F

View file

@ -1,13 +1,15 @@
{ fetchFromGitHub, pythonPackages, lib }:
{ lib
, fetchFromGitHub
, python3
}:
with pythonPackages;
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "MarkdownPP";
version = "1.5.1";
propagatedBuildInputs = [ pillow watchdog ];
propagatedBuildInputs = with python3.pkgs; [ pillow watchdog ];
checkPhase = ''
cd test
PATH=$out/bin:$PATH ${python}/bin/${python.executable} test.py
PATH=$out/bin:$PATH ${python3}/bin/${python3.executable} test.py
'';
src = fetchFromGitHub {
owner = "jreese";