Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
880 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ 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 ]; };}