Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
867 B · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, cffi, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, wheel}:
buildPythonPackage rec { pname = "pyspx"; version = "0.5.2"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "sphincs"; repo = "pyspx"; rev = "refs/tags/v${version}"; hash = "sha256-hMZ7JZoo5RdUwQYpGjtZznH/O6rBUXv+svfOAI0cjqs="; fetchSubmodules = true; };
nativeBuildInputs = [ cffi setuptools wheel ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyspx" ];
meta = with lib; { description = "Python bindings for SPHINCS"; homepage = "https://github.com/sphincs/pyspx"; changelog = "https://github.com/sphincs/pyspx/releases/tag/v${version}"; license = licenses.cc0; maintainers = with maintainers; [ fab ]; };}