3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/hug/default.nix
2019-09-13 10:07:30 -07:00

30 lines
657 B
Nix

{ lib , buildPythonPackage, fetchPypi, isPy27
, falcon
, pytestrunner
, requests
}:
buildPythonPackage rec {
pname = "hug";
version = "2.6.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0iamrzjy8z1xibynkgfl6cn2sbm66awxbp75b26pi32fc41d0k50";
};
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ falcon requests ];
# tests are not shipped in the tarball
doCheck = false;
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;
};
}