diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-04-11 12:19:47 +0200 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-04-12 15:08:13 +0200 |
commit | 36ce7ac867168e735c86db55529a00f8609d598c (patch) | |
tree | 08787721a1a3464de195a61ac58435c1c0a421be /pkgs/development/python-modules/deprecation | |
parent | 80fc5f2a24fc626218be6b9c24d3bf6ef86444fe (diff) | |
download | nixpkgs-36ce7ac867168e735c86db55529a00f8609d598c.tar nixpkgs-36ce7ac867168e735c86db55529a00f8609d598c.tar.gz nixpkgs-36ce7ac867168e735c86db55529a00f8609d598c.tar.bz2 nixpkgs-36ce7ac867168e735c86db55529a00f8609d598c.tar.lz nixpkgs-36ce7ac867168e735c86db55529a00f8609d598c.tar.xz nixpkgs-36ce7ac867168e735c86db55529a00f8609d598c.tar.zst nixpkgs-36ce7ac867168e735c86db55529a00f8609d598c.zip |
python.pkgs.deprecation: init at 2.0.2
Diffstat (limited to 'pkgs/development/python-modules/deprecation')
-rw-r--r-- | pkgs/development/python-modules/deprecation/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/deprecation/default.nix b/pkgs/development/python-modules/deprecation/default.nix new file mode 100644 index 00000000000..63c3fcd74ca --- /dev/null +++ b/pkgs/development/python-modules/deprecation/default.nix @@ -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; + }; +} |