nixpkgs/pkgs/development/python-modules/klein/default.nix

28 lines
582 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi
, six, twisted, werkzeug, incremental
, mock }:
2018-03-20 11:55:22 +00:00
buildPythonPackage rec {
pname = "klein";
version = "17.10.0";
2018-03-20 11:55:22 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "30aaf0d78a987d5dbfe0968a07367ad0c73e02823cc8eef4c54f80ab848370d0";
2018-03-20 11:55:22 +00:00
};
propagatedBuildInputs = [ six twisted werkzeug incremental ];
2018-03-20 11:55:22 +00:00
checkInputs = [ mock ];
checkPhase = ''
trial klein
'';
2018-03-20 11:55:22 +00:00
meta = with lib; {
description = "Klein Web Micro-Framework";
homepage = "https://github.com/twisted/klein";
license = licenses.mit;
};
}