Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
792 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "multimethod"; version = "2.0"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "coady"; repo = "multimethod"; tag = "v${version}"; hash = "sha256-/91re2K+nVKULJOjDoimpOukQlLlsMS9blkVQWit2eI="; };
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "multimethod" ];
meta = with lib; { description = "Multiple argument dispatching"; homepage = "https://coady.github.io/multimethod/"; changelog = "https://github.com/coady/multimethod/tree/${src.tag}#changes"; license = licenses.asl20; maintainers = [ ]; };}