From 11540a7bfb786b116e40455e1f128bfb375250b8 Mon Sep 17 00:00:00 2001 From: emaryn Date: Sun, 9 Feb 2025 07:27:37 +0800 Subject: [PATCH] wcslib: refactor --- pkgs/by-name/wc/wcslib/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/wc/wcslib/package.nix b/pkgs/by-name/wc/wcslib/package.nix index 66374aab784a..95bb428218ca 100644 --- a/pkgs/by-name/wc/wcslib/package.nix +++ b/pkgs/by-name/wc/wcslib/package.nix @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "ftp://ftp.atnf.csiro.au/pub/software/wcslib/${pname}-${version}.tar.bz2"; - sha256 = "sha256-lguERCbRSotTze7XgliqkojN7ZmncywGZ8ZPpqUBJtw="; + hash = "sha256-lguERCbRSotTze7XgliqkojN7ZmncywGZ8ZPpqUBJtw="; }; nativeBuildInputs = [ flex ]; @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { "man" ]; - meta = with lib; { + meta = { homepage = "https://www.atnf.csiro.au/people/mcalabre/WCS/"; description = "World Coordinate System library for astronomy"; longDescription = '' @@ -31,8 +31,8 @@ stdenv.mkDerivation rec { and their conversion to image coordinate systems. This is the standard library for this purpose in astronomy. ''; - maintainers = with maintainers; [ hjones2199 ]; - license = licenses.lgpl3Plus; - platforms = platforms.unix; + maintainers = with lib.maintainers; [ hjones2199 ]; + license = lib.licenses.lgpl3Plus; + platforms = lib.platforms.unix; }; }