adcli: modernize

+7 -7
+7 -7
pkgs/by-name/ad/adcli/package.nix
··· 14 14 xmlto, 15 15 }: 16 16 17 - stdenv.mkDerivation rec { 17 + stdenv.mkDerivation (finalAttrs: { 18 18 pname = "adcli"; 19 19 version = "0.9.2"; 20 20 ··· 22 22 domain = "gitlab.freedesktop.org"; 23 23 owner = "realmd"; 24 24 repo = "adcli"; 25 - rev = version; 25 + tag = finalAttrs.version; 26 26 hash = "sha256-dipNKlIdc1DpXLg/YJjUxZlNoMFy+rt8Y/+AfWFA4dE="; 27 27 }; 28 28 ··· 66 66 patch_docbook doc/adcli-docs.xml 67 67 ''; 68 68 69 - meta = with lib; { 69 + meta = { 70 70 homepage = "https://www.freedesktop.org/software/realmd/adcli/adcli.html"; 71 71 description = "Helper library and tools for Active Directory client operations"; 72 72 mainProgram = "adcli"; 73 - license = licenses.lgpl21Only; 74 - maintainers = with maintainers; [ 73 + license = lib.licenses.lgpl21Only; 74 + maintainers = with lib.maintainers; [ 75 75 SohamG 76 76 anthonyroussel 77 77 ]; 78 - platforms = platforms.linux; 78 + platforms = lib.platforms.linux; 79 79 }; 80 - } 80 + })