pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / by-name / uw / uwhoisd / package.nix
blob81080d476e8e35579cb95a724deaee32057d7075
1 { lib
2 , python3
3 , fetchFromGitHub
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "uwhoisd";
8   version = "0.1.0-unstable-2024-02-24";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "Lookyloo";
13     repo = "uwhoisd";
14     rev = "31ce5e83b8fcf200098fd5120d9c856f3f80e3f7";
15     hash = "sha256-lnPGKF9pJ2NFIsx4HFdRip6R+vGVr9TYzvU89iwBc5g=";
16   };
18   pythonRelaxDeps = [
19     "beautifulsoup4"
20     "tornado"
21   ];
23   build-system = with python3.pkgs; [
24     poetry-core
25   ];
27   propagatedBuildInputs = with python3.pkgs; [
28     beautifulsoup4
29     publicsuffix2
30     redis
31     tornado
32   ] ++ redis.optional-dependencies.hiredis;
34   # Project has no tests
35   doCheck = false;
37   meta = with lib; {
38     description = "Universal WHOIS proxy server";
39     homepage = "https://github.com/Lookyloo/uwhoisd";
40     changelog = "https://github.com/Lookyloo/uwhoisd/blob/${version}/ChangeLog";
41     license = licenses.mit;
42     maintainers = with maintainers; [ fab ];
43   };