From e185b875739cb99f86c585af2c274bf0f925c332 Mon Sep 17 00:00:00 2001 From: Amadej Kastelic Date: Sat, 28 Jun 2025 11:51:58 +0200 Subject: [PATCH] python3Packages.clldutils: modernize --- .../python-modules/clldutils/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/clldutils/default.nix b/pkgs/development/python-modules/clldutils/default.nix index 1bd3336cca43..1dc7cc8de508 100644 --- a/pkgs/development/python-modules/clldutils/default.nix +++ b/pkgs/development/python-modules/clldutils/default.nix @@ -24,18 +24,17 @@ buildPythonPackage rec { pname = "clldutils"; version = "3.24.2"; pyproject = true; - disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "clld"; repo = "clldutils"; - rev = "v${version}"; + tag = "v${version}"; hash = "sha256-xIs6Lq9iDdcM3j51F27x408oUldvy5nlvVdbrAS5Jz0="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ attrs bibtexparser_2 colorlog @@ -55,11 +54,11 @@ buildPythonPackage rec { git ]; - meta = with lib; { - changelog = "https://github.com/clld/clldutils/blob/${src.rev}/CHANGES.md"; + meta = { + changelog = "https://github.com/clld/clldutils/blob/${src.tag}/CHANGES.md"; description = "Utilities for clld apps without the overhead of requiring pyramid, rdflib et al"; homepage = "https://github.com/clld/clldutils"; - license = licenses.asl20; - maintainers = with maintainers; [ melling ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ melling ]; }; }