diff --git a/pkgs/development/python-modules/wirerope/default.nix b/pkgs/development/python-modules/wirerope/default.nix new file mode 100644 index 000000000000..d63f70905372 --- /dev/null +++ b/pkgs/development/python-modules/wirerope/default.nix @@ -0,0 +1,41 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + six, + pytestCheckHook, + pytest-cov-stub, +}: + +buildPythonPackage rec { + pname = "wirerope"; + version = "0.4.7"; + pyproject = true; + + src = fetchFromGitHub { + owner = "youknowone"; + repo = "wirerope"; + rev = version; + hash = "sha256-Xi6I/TXttjCregknmZUhV5GAiNR/HmEi4wCZiCmp0DQ="; + }; + + build-system = [ setuptools ]; + + dependencies = [ six ]; + + pythonImportsCheck = [ "wirerope" ]; + + nativeCheckInputs = [ + pytestCheckHook + pytest-cov-stub + ]; + + meta = with lib; { + description = "Wrappers for class callables"; + homepage = "https://github.com/youknowone/wirerope"; + changelog = "https://github.com/youknowone/wirerope/releases/tag/${version}"; + license = licenses.bsd2WithViews; + maintainers = with maintainers; [ pbsds ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 814d2b1bf33d..2ba8645f626f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -17457,6 +17457,8 @@ self: super: with self; { winsspi = callPackage ../development/python-modules/winsspi { }; + wirerope = callPackage ../development/python-modules/wirerope { }; + withings-api = callPackage ../development/python-modules/withings-api { }; withings-sync = callPackage ../development/python-modules/withings-sync { };