Commit e296eb55 authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.securesystemslib: rm python 3.8 limit, fix build w/ current hatchling

parent e09e5cb4
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@
  pynacl,
  pyspx,
  pytestCheckHook,
  pythonOlder,
}:

buildPythonPackage rec {
@@ -22,8 +21,6 @@ buildPythonPackage rec {
  version = "1.3.1";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "secure-systems-lab";
    repo = "securesystemslib";
@@ -31,6 +28,11 @@ buildPythonPackage rec {
    hash = "sha256-ERFRLNHD3OhbMEGBEnDLkRYGv4f+bYg9MStS5IarcPA=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail '"hatchling==1.27.0"' '"hatchling"'
  '';

  build-system = [ hatchling ];

  optional-dependencies = {