nixpkgs/pkgs/development/python-modules/devpi-common/default.nix

27 lines
637 B
Nix
Raw Normal View History

{ stdenv, pythonPackages }:
with pythonPackages;buildPythonPackage rec {
pname = "devpi-common";
2018-01-20 10:57:43 +00:00
version = "3.2.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-01-20 10:57:43 +00:00
sha256 = "e9afa277a9b227d92335c49fab40be2e9bb112c0f4dda84906c14addb1ded2f7";
};
propagatedBuildInputs = [ requests py ];
checkInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = with stdenv.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 ];
};
}