From 09bc9a094de36a7c31052f8d4938a22b4df23999 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 8 Jul 2025 00:58:49 +0200 Subject: [PATCH] uwhoisd: 0.1.0-unstable-2024-02-24 -> 0.1.1 Diff: https://github.com/kgaughan/uwhoisd/compare/refs/tags/v0.1.0-unstable-2024-02-24...refs/tags/v0.1.1 Changelog: https://github.com/kgaughan/uwhoisd/blob/v0.1.1/ChangeLog --- pkgs/by-name/uw/uwhoisd/package.nix | 33 +++++++++++------------------ 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/pkgs/by-name/uw/uwhoisd/package.nix b/pkgs/by-name/uw/uwhoisd/package.nix index c14678502250..4beabbf1eeeb 100644 --- a/pkgs/by-name/uw/uwhoisd/package.nix +++ b/pkgs/by-name/uw/uwhoisd/package.nix @@ -6,42 +6,33 @@ python3.pkgs.buildPythonApplication rec { pname = "uwhoisd"; - version = "0.1.0-unstable-2024-02-24"; + version = "0.1.1"; pyproject = true; src = fetchFromGitHub { - owner = "Lookyloo"; + owner = "kgaughan"; repo = "uwhoisd"; - rev = "31ce5e83b8fcf200098fd5120d9c856f3f80e3f7"; - hash = "sha256-lnPGKF9pJ2NFIsx4HFdRip6R+vGVr9TYzvU89iwBc5g="; + tag = "v${version}"; + hash = "sha256-ncllROnKFwsSalbkQIOt/sQO0qxybAgxrVnYOC+9InY="; }; - pythonRelaxDeps = [ - "beautifulsoup4" - "tornado" - ]; - build-system = with python3.pkgs; [ - poetry-core + hatchling + hatch-vcs ]; - propagatedBuildInputs = - with python3.pkgs; - [ - beautifulsoup4 - publicsuffix2 - redis - tornado - ] - ++ redis.optional-dependencies.hiredis; + dependencies = with python3.pkgs; [ + beautifulsoup4 + requests + ]; # Project has no tests doCheck = false; meta = { description = "Universal WHOIS proxy server"; - homepage = "https://github.com/Lookyloo/uwhoisd"; - changelog = "https://github.com/Lookyloo/uwhoisd/blob/${version}/ChangeLog"; + homepage = "https://github.com/kgaughan/uwhoisd"; + changelog = "https://github.com/kgaughan/uwhoisd/blob/${src.tag}/ChangeLog"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };