mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
python3Packages.deprecated: init at 1.2.6
This commit is contained in:
parent
b63980dc68
commit
a4cc672ace
27
pkgs/development/python-modules/deprecated/default.nix
Normal file
27
pkgs/development/python-modules/deprecated/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage,
|
||||
wrapt, pytest, tox }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Deprecated";
|
||||
version = "1.2.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hcw9y7dvhwg5flk6wy8aa4kkgpvcqq3q4jd53h54586fp7w85d5";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# odd broken tests, don't appear in GitHub repo
|
||||
rm tests/demo_classic_usage*.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ wrapt ];
|
||||
checkInputs = [ pytest ];
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/tantale/deprecated";
|
||||
description = "Python @deprecated decorator to deprecate old python classes, functions or methods";
|
||||
platforms = platforms.all;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ tilpner ];
|
||||
};
|
||||
}
|
@ -2137,6 +2137,8 @@ in {
|
||||
|
||||
demjson = callPackage ../development/python-modules/demjson { };
|
||||
|
||||
deprecated = callPackage ../development/python-modules/deprecated { };
|
||||
|
||||
deprecation = callPackage ../development/python-modules/deprecation { };
|
||||
|
||||
derpconf = callPackage ../development/python-modules/derpconf { };
|
||||
|
Loading…
Reference in New Issue
Block a user