Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 55 lines
Nix
at flake-libs
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchFromGitHub, pip, pretend, pytestCheckHook, pythonOlder, setuptools, virtualenv,}:
buildPythonPackage rec { pname = "pip-api"; version = "0.0.34"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "di"; repo = "pip-api"; tag = version; hash = "sha256-nmCP4hp+BsD80OBjerOu+QTBBExGHvn/v19od4V3ncI="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ pip ];
nativeCheckInputs = [ pretend pytestCheckHook virtualenv ];
pythonImportsCheck = [ "pip_api" ];
disabledTests = [ "test_hash" "test_hash_default_algorithm_is_256" "test_installed_distributions" "test_invoke_install" "test_invoke_uninstall" "test_isolation" ];
meta = with lib; { description = "Importable pip API"; homepage = "https://github.com/di/pip-api"; changelog = "https://github.com/di/pip-api/blob/${version}/CHANGELOG"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}