Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
892 B · 47 lines
Nix
at flake-libs
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, fetchFromGitHub, buildPythonPackage, setuptools, numpy, pyparsing, pytest-cov-stub, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "periodictable"; version = "2.0.2"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "python-periodictable"; repo = "periodictable"; tag = "v${version}"; hash = "sha256-nI6hiLnqmVXT06pPkHCBEMTxZhfnZJqSImW3V9mJ4+8="; };
build-system = [ setuptools ];
dependencies = [ numpy pyparsing ];
nativeCheckInputs = [ pytest-cov-stub pytestCheckHook ];
pythonImportsCheck = [ "periodictable" ];
meta = { description = "Extensible periodic table of the elements"; homepage = "https://github.com/pkienzle/periodictable"; license = lib.licenses.publicDomain; maintainers = with lib.maintainers; [ rprospero ]; };}