nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 672 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 wheel, 7}: 8 9buildPythonPackage rec { 10 pname = "primepy"; 11 version = "1.3"; 12 pyproject = true; 13 14 src = fetchPypi { 15 pname = "primePy"; 16 inherit version; 17 hash = "sha256-Jf1+JTRLB4mlmEx12J8FT88fGAvvIMmY5L77rJLeRmk="; 18 }; 19 20 nativeBuildInputs = [ 21 setuptools 22 wheel 23 ]; 24 25 pythonImportsCheck = [ "primePy" ]; 26 27 meta = { 28 description = "This module contains several useful functions to work with prime numbers. from primePy import primes"; 29 homepage = "https://pypi.org/project/primePy/"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ matthewcroughan ]; 32 }; 33}