mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
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;
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user