Merge pull request #248065 from aaronjheng/pyditz
pyditz: use python3Packages
This commit is contained in:
commit
b39ff89ceb
3 changed files with 5 additions and 26 deletions
|
@ -1,19 +0,0 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pytest-runner, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Cerberus";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytest-runner pytest ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://python-cerberus.org/";
|
||||
description = "Lightweight, extensible schema and data validation tool for Python dictionaries";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -2,23 +2,21 @@
|
|||
|
||||
with pythonPackages;
|
||||
|
||||
let
|
||||
cerberus_1_1 = callPackage ./cerberus.nix { };
|
||||
in buildPythonApplication rec {
|
||||
buildPythonApplication rec {
|
||||
pname = "pyditz";
|
||||
version = "0.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "da0365ae9064e30c4a27526fb0d7a802fda5c8651cda6990d17be7ede89a2551";
|
||||
hash = "sha256-2gNlrpBk4wxKJ1JvsNeoAv2lyGUc2mmQ0Xvn7eiaJVE=";
|
||||
};
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [ pyyaml six jinja2 cerberus_1_1 ];
|
||||
propagatedBuildInputs = [ pyyaml six jinja2 cerberus ];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pythonhosted.org/pyditz/";
|
||||
homepage = "https://pypi.org/project/pyditz/";
|
||||
description = "Drop-in replacement for the Ditz distributed issue tracker";
|
||||
maintainers = [ maintainers.ilikeavocadoes ];
|
||||
license = licenses.lgpl2;
|
||||
|
|
|
@ -12169,7 +12169,7 @@ with pkgs;
|
|||
teapot = callPackage ../applications/office/teapot { };
|
||||
|
||||
pyditz = callPackage ../applications/misc/pyditz {
|
||||
pythonPackages = python27Packages;
|
||||
pythonPackages = python3Packages;
|
||||
};
|
||||
|
||||
py-spy = darwin.apple_sdk_11_0.callPackage ../development/tools/py-spy { };
|
||||
|
|
Loading…
Reference in a new issue