python312Packages.gorilla: refactor

This commit is contained in:
Fabian Affolter 2024-04-05 22:43:10 +02:00
parent b875091628
commit 44998179ba
1 changed files with 22 additions and 4 deletions

View File

@ -1,18 +1,36 @@
{ lib, buildPythonPackage, fetchPypi}:
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, setuptools
}:
buildPythonPackage rec {
pname = "gorilla";
version = "0.4.0";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "005ab8853b037162a7c77bb824604c6e081878ee03c09ad01ef41744856019d3";
hash = "sha256-AFq4hTsDcWKnx3u4JGBMbggYeO4DwJrQHvQXRIVgGdM=";
};
build-system = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"gorilla"
];
meta = with lib; {
homepage = "https://github.com/christophercrouzet/gorilla";
description = "Convenient approach to monkey patching";
homepage = "https://github.com/christophercrouzet/gorilla";
changelog = "https://github.com/christophercrouzet/gorilla/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ tbenst ];
};