Unverified Commit e3607cab authored by Pyrox's avatar Pyrox
Browse files

python312Packages.mohawk: modernize

parent fbc52726
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -5,16 +5,17 @@
  fetchpatch2,
  pytestCheckHook,
  six,
  setuptools,
}:

buildPythonPackage rec {
  pname = "mohawk";
  version = "1.1.0";
  format = "setuptools";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    sha256 = "08wppsv65yd0gdxy5zwq37yp6jmxakfz4a2yx5wwq2d222my786j";
    hash = "sha256-0qDjqxCiCcx56V4o8t1UvUpz/RmY/+J7e6D5Yra+lyM=";
  };

  patches = [
@@ -26,7 +27,9 @@ buildPythonPackage rec {
    })
  ];

  propagatedBuildInputs = [ six ];
  build-system = [ setuptools ];

  dependencies = [ six ];

  nativeCheckInputs = [ pytestCheckHook ];