mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
Merge pull request #334128 from pbsds/init-methodtools-1723466127
python312Packages.methodtools: init at 0.4.7
This commit is contained in:
commit
1085cdf835
41
pkgs/development/python-modules/methodtools/default.nix
Normal file
41
pkgs/development/python-modules/methodtools/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
wirerope,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "methodtools";
|
||||
version = "0.4.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "youknowone";
|
||||
repo = "methodtools";
|
||||
rev = version;
|
||||
hash = "sha256-Y5VdYVSb3A+32waUUoIDDGW+AhRapN71pebTTlJC0es=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ wirerope ];
|
||||
|
||||
pythonImportsCheck = [ "methodtools" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Expands the functools lru_cache to classes";
|
||||
homepage = "https://github.com/youknowone/methodtools";
|
||||
changelog = "https://github.com/youknowone/methodtools/releases/tag/${version}";
|
||||
license = licenses.bsd2WithViews;
|
||||
maintainers = with maintainers; [ pbsds ];
|
||||
};
|
||||
}
|
41
pkgs/development/python-modules/wirerope/default.nix
Normal file
41
pkgs/development/python-modules/wirerope/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -7726,6 +7726,8 @@ self: super: with self; {
|
||||
|
||||
meteofrance-api = callPackage ../development/python-modules/meteofrance-api { };
|
||||
|
||||
methodtools = callPackage ../development/python-modules/methodtools { };
|
||||
|
||||
mezzanine = callPackage ../development/python-modules/mezzanine { };
|
||||
|
||||
mf2py = callPackage ../development/python-modules/mf2py { };
|
||||
@ -17550,6 +17552,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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user