about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/dugong/default.nix
blob: 5130ea3b0043e04447e1f1aa172b9fecce8129c6 (plain) (blame)
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
31
32
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "dugong";
  version = "3.8.1";
  disabled = pythonOlder "3.3";

  src = fetchFromGitHub {
    owner = "python-dugong";
    repo = "python-dugong";
    rev = "release-${version}";
    sha256 = "1063c1779idc5nrjzfv5w1xqvyy3crapb2a2xll9y6xphxclnkjc";
  };

  checkInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "dugong" ];

  meta = with lib; {
    description = "HTTP 1.1 client designed for REST-ful APIs";
    homepage = "https://github.com/python-dugong/python-dugong/";
    license = with licenses; [ psfl asl20 ];
    maintainers = with maintainers; [ ];
  };
}