blob: afda125c5d4e69af2407a3dd87483a7bb4bb506b (
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
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pythonOlder,
}:
buildPythonPackage rec {
pname = "thttp";
version = "1.3.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "sesh";
repo = "thttp";
rev = "refs/tags/${version}";
hash = "sha256-e15QMRMpTcWo8TfH3tk23ybSlXFb8F4B/eqAp9oyK8g=";
};
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "thttp" ];
meta = with lib; {
description = "Lightweight wrapper around urllib";
homepage = "https://github.com/sesh/thttp";
changelog = "https://github.com/sesh/thttp/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|