dosage: fix build, use python3

This commit is contained in:
Frederik Rietdijk 2019-11-13 15:40:13 +01:00
parent 4b51113a65
commit 9978f5ba5e
2 changed files with 6 additions and 8 deletions

View file

@ -1,6 +1,6 @@
{ stdenv, pythonPackages, fetchFromGitHub }:
{ stdenv, python3Packages, fetchFromGitHub }:
pythonPackages.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "dosage";
version = "2018.04.08";
PBR_VERSION = version;
@ -11,10 +11,10 @@ pythonPackages.buildPythonApplication rec {
rev = "b2fdc13feb65b93762928f7e99bac7b1b7b31591";
sha256 = "1p6vllqaf9s6crj47xqp97hkglch1kd4y8y4lxvzx3g2shhhk9hh";
};
checkInputs = with pythonPackages; [ pytest responses ];
propagatedBuildInputs = with pythonPackages; [ colorama lxml requests pbr ];
checkInputs = with python3Packages; [ pytest responses ];
propagatedBuildInputs = with python3Packages; [ colorama lxml requests pbr setuptools ];
disabled = pythonPackages.pythonOlder "3.3";
disabled = python3Packages.pythonOlder "3.3";
checkPhase = ''
py.test tests/

View file

@ -1575,9 +1575,7 @@ in
dokuwiki = callPackage ../servers/web-apps/dokuwiki { };
dosage = callPackage ../applications/graphics/dosage {
pythonPackages = python3Packages;
};
dosage = callPackage ../applications/graphics/dosage { };
dozenal = callPackage ../applications/misc/dozenal { };