python312Packages.gorilla: refactor
This commit is contained in:
parent
b875091628
commit
44998179ba
|
@ -1,18 +1,36 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi}:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytestCheckHook
|
||||||
|
, setuptools
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "gorilla";
|
pname = "gorilla";
|
||||||
version = "0.4.0";
|
version = "0.4.0";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "005ab8853b037162a7c77bb824604c6e081878ee03c09ad01ef41744856019d3";
|
hash = "sha256-AFq4hTsDcWKnx3u4JGBMbggYeO4DwJrQHvQXRIVgGdM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"gorilla"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/christophercrouzet/gorilla";
|
|
||||||
description = "Convenient approach to monkey patching";
|
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;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ tbenst ];
|
maintainers = with maintainers; [ tbenst ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user