nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

python310Packages.deprecat: init at 2.1.1

+49
+47
pkgs/development/python-modules/deprecat/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + , pythonOlder 6 + , setuptools-scm 7 + , wrapt 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "deprecat"; 12 + version = "2.1.1"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "mjhajharia"; 19 + repo = pname; 20 + rev = "refs/tags/v${version}"; 21 + hash = "sha256-3Xl/IC+ImFUxxLry15MIIVRf6aR+gA9K5S2IQomkv+o="; 22 + }; 23 + 24 + nativeBuildInputs = [ 25 + setuptools-scm 26 + ]; 27 + 28 + propagatedBuildInputs = [ 29 + wrapt 30 + ]; 31 + 32 + nativeCheckInputs = [ 33 + pytestCheckHook 34 + ]; 35 + 36 + pythonImportsCheck = [ 37 + "deprecat" 38 + ]; 39 + 40 + meta = with lib; { 41 + description = "Decorator to deprecate old python classes, functions or methods"; 42 + homepage = "https://github.com/mjhajharia/deprecat"; 43 + changelog = "https://github.com/mjhajharia/deprecat/releases/tag/v${version}"; 44 + license = licenses.mit; 45 + maintainers = with maintainers; [ fab ]; 46 + }; 47 + }
+2
pkgs/top-level/python-packages.nix
··· 2369 2369 2370 2370 deploykit = callPackage ../development/python-modules/deploykit { }; 2371 2371 2372 + deprecat = callPackage ../development/python-modules/deprecat { }; 2373 + 2372 2374 deprecated = callPackage ../development/python-modules/deprecated { }; 2373 2375 2374 2376 deprecation = callPackage ../development/python-modules/deprecation { };