diff options
Diffstat (limited to 'pkgs/development/python-modules/automx2/default.nix')
-rw-r--r-- | pkgs/development/python-modules/automx2/default.nix | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/automx2/default.nix b/pkgs/development/python-modules/automx2/default.nix index a0b4f78e6754..298dd7fb9adc 100644 --- a/pkgs/development/python-modules/automx2/default.nix +++ b/pkgs/development/python-modules/automx2/default.nix @@ -1,17 +1,18 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, flask -, flask-migrate -, ldap3 -, pytestCheckHook -, pythonOlder -, setuptools +{ + lib, + buildPythonPackage, + fetchFromGitHub, + flask, + flask-migrate, + ldap3, + pytestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "automx2"; - version = "2024.1"; + version = "2024.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -19,13 +20,11 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "rseichter"; repo = "automx2"; - rev = version; - hash = "sha256-s/kd9A/d3SPMZC9+B4DdcXVi77WLH/SBwXIdaKHUj34="; + rev = "refs/tags/${version}"; + hash = "sha256-7SbSKSjDHTppdqfPPKvuWbdoksHa6BMIOXOq0jDggTE="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ flask @@ -33,13 +32,9 @@ buildPythonPackage rec { ldap3 ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "automx2" - ]; + pythonImportsCheck = [ "automx2" ]; meta = with lib; { description = "Email client configuration made easy"; |