depot/third_party/nixpkgs/pkgs/development/python-modules/devpi-common/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
635 B
Nix

{ lib, buildPythonPackage, fetchPypi
, requests
, py
, pytest
, pytest-flake8
}:
buildPythonPackage rec {
pname = "devpi-common";
version = "3.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "1pfl29pnfn120rqv3zwxc22i1hyywwg60rcck9hzxsllbhmfbjqh";
};
propagatedBuildInputs = [ requests py ];
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 ];
};
}