python.pkgs.deprecation: init at 2.0.2

This commit is contained in:
Robert Schütz 2018-04-11 12:19:47 +02:00
parent 80fc5f2a24
commit 36ce7ac867
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchPypi, python, packaging, unittest2 }:
buildPythonPackage rec {
pname = "deprecation";
version = "2.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "e8d0dc5a17d7d551730e5f23ff3a53fc9e438364b9efb47d41c3e9b05522eabe";
};
propagatedBuildInputs = [ packaging ];
checkInputs = [ unittest2 ];
checkPhase = ''
${python.interpreter} -m unittest discover
'';
meta = with lib; {
description = "A library to handle automated deprecations";
homepage = https://deprecation.readthedocs.io/;
license = licenses.asl20;
};
}

View file

@ -2101,6 +2101,8 @@ in {
demjson = callPackage ../development/python-modules/demjson { };
deprecation = callPackage ../development/python-modules/deprecation { };
derpconf = callPackage ../development/python-modules/derpconf { };
deskcon = self.buildPythonPackage rec {