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

30 lines
657 B
Nix
Raw Normal View History

2019-09-13 17:07:30 +00:00
{ lib , buildPythonPackage, fetchPypi, isPy27
, falcon
2019-09-13 17:07:30 +00:00
, pytestrunner
, requests
}:
buildPythonPackage rec {
pname = "hug";
2019-09-13 17:07:30 +00:00
version = "2.6.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
2019-09-13 17:07:30 +00:00
sha256 = "0iamrzjy8z1xibynkgfl6cn2sbm66awxbp75b26pi32fc41d0k50";
};
2019-09-13 17:07:30 +00:00
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ falcon requests ];
# tests are not shipped in the tarball
doCheck = false;
2019-09-13 17:07:30 +00:00
meta = with lib; {
description = "A Python framework that makes developing APIs as simple as possible, but no simpler";
homepage = https://github.com/timothycrosley/hug;
license = licenses.mit;
};
}