pythonPackages.weakrefmethod: init at 1.0.3

This commit is contained in:
Mats 2022-11-17 20:05:42 +01:00
parent b68bd2ee52
commit 7a6755b91a
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, unittest2 }:
buildPythonPackage rec {
pname = "weakrefmethod";
version = "1.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-N7wfu1V1rPghctTre2/EQS131aHXDf8sH4pFdDAc2mY=";
};
checkInputs = [
unittest2
];
pythonImportsCheck = [ "weakrefmethod" ];
meta = with lib; {
description = "A WeakMethod class for storing bound methods using weak references";
homepage = "https://github.com/twang817/weakrefmethod";
license = licenses.psfl;
maintainers = with maintainers; [ myaats ];
};
}

View File

@ -11857,6 +11857,8 @@ self: super: with self; {
wcwidth = callPackage ../development/python-modules/wcwidth { };
weakrefmethod = callPackage ../development/python-modules/weakrefmethod { };
weasyprint = callPackage ../development/python-modules/weasyprint { };
web3 = callPackage ../development/python-modules/web3 { };