From bc954ef10b6d7f0e054e8df01e7d02aca312585f Mon Sep 17 00:00:00 2001 From: Kerstin Humm Date: Fri, 30 Aug 2024 12:23:17 +0200 Subject: [PATCH] python3Packages.siphashc: inherit pname in fetchPypi, fix license --- pkgs/development/python-modules/siphashc/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/siphashc/default.nix b/pkgs/development/python-modules/siphashc/default.nix index 76c9ea7ad5c0b..639f06ead5f1e 100644 --- a/pkgs/development/python-modules/siphashc/default.nix +++ b/pkgs/development/python-modules/siphashc/default.nix @@ -13,8 +13,7 @@ buildPythonPackage rec { build-system = [ setuptools ]; src = fetchPypi { - pname = "siphashc"; - inherit version; + inherit pname version; sha256 = "sha256-ptNpy7VkUXHbjvdir6v+eYOmtQ/j8XPXq4lj7ceS/5s="; }; @@ -25,7 +24,8 @@ buildPythonPackage rec { meta = with lib; { description = "Python c-module for siphash"; homepage = "https://github.com/WeblateOrg/siphashc"; - license = licenses.mit; + changelog = "https://github.com/WeblateOrg/siphashc/blob/${version}/CHANGES.rst"; + license = licenses.isc; maintainers = with maintainers; [ erictapen ]; }; }