Commit 44998179 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.gorilla: refactor

parent b8750916
Loading
Loading
Loading
Loading
+22 −4
Original line number Diff line number Diff line
{ 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 ];
  };