depot/third_party/nixpkgs/pkgs/development/python-modules/devpi-common/default.nix
Default email a944afd061 Project import generated by Copybara.
GitOrigin-RevId: 2247d824fe07f16325596acc7faa286502faffd1
2020-11-21 20:51:51 +01:00

35 lines
673 B
Nix

{ lib, buildPythonPackage, fetchPypi
, requests
, py
, pytest
, pytest-flake8
, lazy
}:
buildPythonPackage rec {
pname = "devpi-common";
version = "3.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "fc14aa6b74d4d9e27dc2e9cbff000ed9be5cd723d3ac9672e66e4e8fce797227";
};
propagatedBuildInputs = [
requests
py
lazy
];
checkInputs = [ pytest pytest-flake8 ];
checkPhase = ''
py.test
'';
meta = with lib; {
homepage = "https://github.com/devpi/devpi";
description = "Utilities jointly used by devpi-server and devpi-client";
license = licenses.mit;
maintainers = with maintainers; [ lewo makefu ];
};
}