From 4521bf49d19efe245e02ec923296155eb8ae75b9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 9 Oct 2021 12:05:28 +0200 Subject: [PATCH] python3Packages.parameter-expansion-patched: init at 0.2.1b4 --- .../parameter-expansion-patched/default.nix | 33 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/python-modules/parameter-expansion-patched/default.nix diff --git a/pkgs/development/python-modules/parameter-expansion-patched/default.nix b/pkgs/development/python-modules/parameter-expansion-patched/default.nix new file mode 100644 index 000000000000..18511e1c70fd --- /dev/null +++ b/pkgs/development/python-modules/parameter-expansion-patched/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "parameter-expansion-patched"; + version = "0.2.1b4"; + + disabled = pythonOlder "3.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "1vhshscjifi78qapzwn29gln6p8jhyc7cccszl8ai2jamhcph5zs"; + }; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "parameter_expansion" + ]; + + meta = with lib; { + description = "POSIX parameter expansion in Python"; + homepage = "https://github.com/nexB/commoncode"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8ba96b34e44f..cd1e4e00eccc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5332,6 +5332,8 @@ in { param = callPackage ../development/python-modules/param { }; + parameter-expansion-patched = callPackage ../development/python-modules/parameter-expansion-patched { }; + parameterized = callPackage ../development/python-modules/parameterized { }; paramiko = callPackage ../development/python-modules/paramiko { };