Merge: matrix-synapse: 1.122.0 -> 1.123.0 (#378018)
[NixPkgs.git] / pkgs / development / python-modules / thttp / default.nix
blob9954ef1b8c03c578f2b20652a9fc15ff000bf0db
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "thttp";
11   version = "1.3.0";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "sesh";
18     repo = "thttp";
19     tag = version;
20     hash = "sha256-e15QMRMpTcWo8TfH3tk23ybSlXFb8F4B/eqAp9oyK8g=";
21   };
23   nativeBuildInputs = [ setuptools ];
25   pythonImportsCheck = [ "thttp" ];
27   meta = with lib; {
28     description = "Lightweight wrapper around urllib";
29     homepage = "https://github.com/sesh/thttp";
30     changelog = "https://github.com/sesh/thttp/releases/tag/${version}";
31     license = licenses.mit;
32     maintainers = with maintainers; [ fab ];
33   };