python.pkgs.deprecation: init at 2.0.2
This commit is contained in:
parent
80fc5f2a24
commit
36ce7ac867
25
pkgs/development/python-modules/deprecation/default.nix
Normal file
25
pkgs/development/python-modules/deprecation/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user