Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 58 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, buildPythonPackage, fetchFromGitHub, matplotlib, palettable, pandas, pytestCheckHook, pythonOlder, scipy, setuptools-scm}:
buildPythonPackage rec { pname = "mizani"; version = "0.9.2"; format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "has2k1"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-6jdQxRqulE5hIzzmdr9kR5gsLrzt0lfJun5blJjTUY0="; };
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ matplotlib palettable pandas scipy ];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov=mizani --cov-report=xml" "" '';
pythonImportsCheck = [ "mizani" ];
meta = with lib; { description = "Scales for Python"; homepage = "https://github.com/has2k1/mizani"; changelog = "https://github.com/has2k1/mizani/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ samuela ]; };}