nixpkgs/pkgs/development/python-modules/devpi-common/default.nix
2018-12-03 16:50:29 +01:00

25 lines
612 B
Nix

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