Loading pkgs/development/python-modules/siphashc/default.nix +9 −7 Original line number Diff line number Diff line { lib, fetchPypi, fetchFromGitHub, buildPythonPackage, setuptools, pytestCheckHook, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "siphashc"; version = "2.7"; pyproject = true; build-system = [ setuptools ]; src = fetchPypi { inherit pname version; sha256 = "sha256-ppRNc3aM9So6g0LunBka2UBFWQAvck9E4Ot6sOC96jM="; src = fetchFromGitHub { owner = "WeblateOrg"; repo = "siphashc"; tag = "v${finalAttrs.version}"; hash = "sha256-Rj+0oIlGs2Xs2TTN0PIwcVUlTgd1AZITC8xBf/Hn31Q="; }; nativeCheckInputs = [ pytestCheckHook ]; Loading @@ -24,8 +26,8 @@ buildPythonPackage rec { meta = { description = "Python c-module for siphash"; homepage = "https://github.com/WeblateOrg/siphashc"; changelog = "https://github.com/WeblateOrg/siphashc/blob/${version}/CHANGES.rst"; changelog = "https://github.com/WeblateOrg/siphashc/blob/${finalAttrs.src.tag}/CHANGES.rst"; license = lib.licenses.isc; maintainers = with lib.maintainers; [ erictapen ]; }; } }) Loading
pkgs/development/python-modules/siphashc/default.nix +9 −7 Original line number Diff line number Diff line { lib, fetchPypi, fetchFromGitHub, buildPythonPackage, setuptools, pytestCheckHook, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "siphashc"; version = "2.7"; pyproject = true; build-system = [ setuptools ]; src = fetchPypi { inherit pname version; sha256 = "sha256-ppRNc3aM9So6g0LunBka2UBFWQAvck9E4Ot6sOC96jM="; src = fetchFromGitHub { owner = "WeblateOrg"; repo = "siphashc"; tag = "v${finalAttrs.version}"; hash = "sha256-Rj+0oIlGs2Xs2TTN0PIwcVUlTgd1AZITC8xBf/Hn31Q="; }; nativeCheckInputs = [ pytestCheckHook ]; Loading @@ -24,8 +26,8 @@ buildPythonPackage rec { meta = { description = "Python c-module for siphash"; homepage = "https://github.com/WeblateOrg/siphashc"; changelog = "https://github.com/WeblateOrg/siphashc/blob/${version}/CHANGES.rst"; changelog = "https://github.com/WeblateOrg/siphashc/blob/${finalAttrs.src.tag}/CHANGES.rst"; license = lib.licenses.isc; maintainers = with lib.maintainers; [ erictapen ]; }; } })