Commit 551ce0e6 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.simpleeval: refactor

parent a3cd526f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2,23 +2,23 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  hatchling,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "simpleeval";
  version = "1.0.3";
  format = "pyproject";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "danthedeckie";
    repo = pname;
    repo = "simpleeval";
    tag = version;
    hash = "sha256-CwCuQ/wd8nLKKXji2dzz9mvZrQEm2/kEm93Pan/8+90=";
  };

  nativeBuildInputs = [ setuptools ];
  build-system = [ hatchling ];

  nativeCheckInputs = [ pytestCheckHook ];