aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/hug/default.nix
blob: 1b9542824c07104bc6ac9c9bafdce92db55d03ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, falcon
, requests
}:

buildPythonPackage rec {
  pname = "hug";
  version = "2.4.8";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "2b33904660d07df3a6a998a52d1a36e2855e56dc9ffc4eddb2158e32d1ce7621";
  };

  propagatedBuildInputs = [ falcon requests ];

  # tests are not shipped in the tarball
  doCheck = false;

  meta = with stdenv.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;
  };

}