Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 82 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283{ lib, devpi-server, git, glibcLocales, python3, fetchPypi}:
python3.pkgs.buildPythonApplication rec { pname = "devpi-client"; version = "7.0.0"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-AI/GNubb7+nwz/vM6v/JoUtWup6rBJieKXtFQzrdPkE="; };
postPatch = '' substituteInPlace tox.ini \ --replace "--flake8" "" '';
nativeBuildInputs = with python3.pkgs; [ setuptools setuptools-changelog-shortener wheel ];
buildInputs = [ glibcLocales ];
propagatedBuildInputs = with python3.pkgs; [ build check-manifest devpi-common iniconfig pkginfo pluggy platformdirs ];
nativeCheckInputs = [ devpi-server git ] ++ (with python3.pkgs; [ mercurial mock pypitoken pytestCheckHook sphinx virtualenv webtest wheel ]);
preCheck = '' export HOME=$(mktemp -d); '';
pytestFlagsArray = [ # --fast skips tests which try to start a devpi-server improperly "--fast" ];
LC_ALL = "en_US.UTF-8";
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "devpi" ];
meta = with lib; { description = "Client for devpi, a pypi index server and packaging meta tool"; homepage = "http://doc.devpi.net"; changelog = "https://github.com/devpi/devpi/blob/client-${version}/client/CHANGELOG"; license = licenses.mit; maintainers = with maintainers; [ lewo makefu ]; };}