Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
695 B · 39 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchPypi, setuptools, psutil, pythonOlder}:
buildPythonPackage rec { pname = "portpicker"; version = "1.5.2"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-xVaDrXJfXACkG8fbAiUiPovgJLH6Vk0DntM5Dk/Uj7M="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ psutil ];
pythonImportsCheck = [ "portpicker" ];
meta = with lib; { description = "Library to choose unique available network ports"; homepage = "https://github.com/google/python_portpicker"; license = licenses.asl20; maintainers = with maintainers; [ ]; };}