diff --git a/pkgs/development/python-modules/amarna/default.nix b/pkgs/development/python-modules/amarna/default.nix index 7bf45d4767b7..2d669644d8b3 100644 --- a/pkgs/development/python-modules/amarna/default.nix +++ b/pkgs/development/python-modules/amarna/default.nix @@ -5,21 +5,24 @@ lark, pydot, pytestCheckHook, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "amarna"; version = "0.1.5"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "crytic"; repo = "amarna"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-tyvHWBhanR7YH87MDWdXUsDEzZG6MgnbshezAbxWO+I="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ lark pydot ]; @@ -35,4 +38,4 @@ buildPythonPackage rec { license = lib.licenses.agpl3Only; maintainers = [ ]; }; -} +})