lol

aide: move to finalAttrs

kashw2 6ae5c34c 57f07c20

+8 -7
+8 -7
pkgs/by-name/ai/aide/package.nix
··· 14 libgcrypt, 15 }: 16 17 - stdenv.mkDerivation rec { 18 pname = "aide"; 19 version = "0.19.2"; 20 21 src = fetchurl { 22 - url = "https://github.com/aide/aide/releases/download/v${version}/${pname}-${version}.tar.gz"; 23 - sha256 = "sha256-I3YrBfRhEe3rPIoFAWyHMcAb24wfkb5IwVbDGrhedMQ="; 24 }; 25 26 buildInputs = [ 27 flex 28 bison ··· 35 libgcrypt 36 ]; 37 38 - nativeBuildInputs = [ pkg-config ]; 39 - 40 configureFlags = [ 41 "--with-posix-acl" 42 "--with-selinux" ··· 46 47 meta = { 48 homepage = "https://aide.github.io/"; 49 - changelog = "https://github.com/aide/aide/blob/v${version}/ChangeLog"; 50 description = "File and directory integrity checker"; 51 mainProgram = "aide"; 52 license = lib.licenses.gpl2Plus; 53 maintainers = with lib.maintainers; [ happysalada ]; 54 platforms = lib.platforms.linux; 55 }; 56 - }
··· 14 libgcrypt, 15 }: 16 17 + stdenv.mkDerivation (finalAttrs: { 18 pname = "aide"; 19 version = "0.19.2"; 20 21 src = fetchurl { 22 + # We specifically want the tar.gz, so fetchFromGitHub is not suitable here 23 + url = "https://github.com/aide/aide/releases/download/v${finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}.tar.gz"; 24 + hash = "sha256-I3YrBfRhEe3rPIoFAWyHMcAb24wfkb5IwVbDGrhedMQ="; 25 }; 26 27 + nativeBuildInputs = [ pkg-config ]; 28 + 29 buildInputs = [ 30 flex 31 bison ··· 38 libgcrypt 39 ]; 40 41 configureFlags = [ 42 "--with-posix-acl" 43 "--with-selinux" ··· 47 48 meta = { 49 homepage = "https://aide.github.io/"; 50 + changelog = "https://github.com/aide/aide/blob/v${finalAttrs.version}/ChangeLog"; 51 description = "File and directory integrity checker"; 52 mainProgram = "aide"; 53 license = lib.licenses.gpl2Plus; 54 maintainers = with lib.maintainers; [ happysalada ]; 55 platforms = lib.platforms.linux; 56 }; 57 + })