Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 57 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, fetchFromGitHub, flitBuildHook, pytestCheckHook, pythonOlder, inform, parametrize-from-file, setuptools, voluptuous, quantiphy-eval, rkm-codes}:
buildPythonPackage rec { pname = "quantiphy"; version = "2.19"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "KenKundert"; repo = "quantiphy"; rev = "v${version}"; hash = "sha256-oSWq/D1EX6mxUDElfujyOSEtql0csAm72u2B5RuQddE="; };
nativeBuildInputs = [ flitBuildHook ];
propagatedBuildInputs = [ quantiphy-eval rkm-codes ];
nativeCheckInputs = [ inform parametrize-from-file pytestCheckHook setuptools voluptuous ];
pythonImportsCheck = [ "quantiphy" ];
meta = with lib; { description = "Module for physical quantities (numbers with units)"; homepage = "https://quantiphy.readthedocs.io"; changelog = "https://github.com/KenKundert/quantiphy/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ jpetrucciani ]; };}