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