Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
949 B · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchPypi, setuptools, nose, pytestCheckHook, pythonAtLeast}:
buildPythonPackage rec { pname = "ipython-genutils"; version = "0.2.0"; pyproject = true;
# uses the imp module, upstream says "DO NOT USE" disabled = pythonAtLeast "3.12";
src = fetchPypi { pname = "ipython_genutils"; inherit version; hash = "sha256-6y4RbnXs751NIo/cZq9UJpr6JqtEYwQuM3hbiHxii6g="; };
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ nose pytestCheckHook ];
preCheck = '' substituteInPlace ipython_genutils/tests/test_path.py \ --replace "setUp" "setup_method" \ --replace "tearDown" "teardown_method" '';
pythonImportsCheck = [ "ipython_genutils" ];
meta = { description = "Vestigial utilities from IPython"; homepage = "https://ipython.org/"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fridh ]; };}