about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2024-03-22 12:43:31 +0100
committerGitHub <noreply@github.com>2024-03-22 12:43:31 +0100
commit0cb727d0b55b974c6790792a2143eaabb99ba6e1 (patch)
tree3953f09c3dcc1fd568898ec7eadd85a29b51630d
parent64996ab34377b94da595aca6f355ad6618154f45 (diff)
parenta54c8e2764e38625119dcf291dbf48299004ec23 (diff)
downloadnixlib-0cb727d0b55b974c6790792a2143eaabb99ba6e1.tar
nixlib-0cb727d0b55b974c6790792a2143eaabb99ba6e1.tar.gz
nixlib-0cb727d0b55b974c6790792a2143eaabb99ba6e1.tar.bz2
nixlib-0cb727d0b55b974c6790792a2143eaabb99ba6e1.tar.lz
nixlib-0cb727d0b55b974c6790792a2143eaabb99ba6e1.tar.xz
nixlib-0cb727d0b55b974c6790792a2143eaabb99ba6e1.tar.zst
nixlib-0cb727d0b55b974c6790792a2143eaabb99ba6e1.zip
Merge pull request #297813 from fabaff/uwhoisd
uwhoisd: init at 0.1.0-unstable-2024-02-24
-rw-r--r--pkgs/by-name/uw/uwhoisd/package.nix45
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/by-name/uw/uwhoisd/package.nix b/pkgs/by-name/uw/uwhoisd/package.nix
new file mode 100644
index 000000000000..2fb31c23669d
--- /dev/null
+++ b/pkgs/by-name/uw/uwhoisd/package.nix
@@ -0,0 +1,45 @@
+{ lib
+, python3
+, fetchFromGitHub
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "uwhoisd";
+  version = "0.1.0-unstable-2024-02-24";
+  pyproject = true;
+
+  src = fetchFromGitHub {
+    owner = "Lookyloo";
+    repo = "uwhoisd";
+    rev = "31ce5e83b8fcf200098fd5120d9c856f3f80e3f7";
+    hash = "sha256-lnPGKF9pJ2NFIsx4HFdRip6R+vGVr9TYzvU89iwBc5g=";
+  };
+
+  pythonRelaxDeps = [
+    "beautifulsoup4"
+    "tornado"
+  ];
+
+  build-system = with python3.pkgs; [
+    poetry-core
+    pythonRelaxDepsHook
+  ];
+
+  propagatedBuildInputs = with python3.pkgs; [
+    beautifulsoup4
+    publicsuffix2
+    redis
+    tornado
+  ] ++ redis.optional-dependencies.hiredis;
+
+  # Project has no tests
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Universal WHOIS proxy server";
+    homepage = "https://github.com/Lookyloo/uwhoisd";
+    changelog = "https://github.com/Lookyloo/uwhoisd/blob/${version}/ChangeLog";
+    license = licenses.mit;
+    maintainers = with maintainers; [ fab ];
+  };
+}