1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/deprecation/default.nix

26 lines
597 B
Nix
Raw Normal View History

2018-04-11 11:19:47 +01:00
{ lib, buildPythonPackage, fetchPypi, python, packaging, unittest2 }:
buildPythonPackage rec {
pname = "deprecation";
2018-07-22 11:07:46 +01:00
version = "2.0.5";
2018-04-11 11:19:47 +01:00
src = fetchPypi {
inherit pname version;
2018-07-22 11:07:46 +01:00
sha256 = "cbe7d15006bc339709be5e02b14884ecc479639c1a3714a908de3a8ca13b5ca9";
2018-04-11 11:19:47 +01:00
};
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;
};
}