python310Packages.recoll: add changelog to meta

- specify license
This commit is contained in:
Fabian Affolter 2023-01-04 09:12:48 +01:00 committed by GitHub
parent 34c3093c20
commit 26fff39e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,9 +42,18 @@ mkDerivation rec {
sha256 = "sha256-ffD49sGYWYEWAFPRtpyDU/CYFvkrEDL21Ddq3QsXCvc=";
};
configureFlags = [ "--enable-recollq" "--disable-webkit" "--without-systemd" ]
++ lib.optionals (!withGui) [ "--disable-qtgui" "--disable-x11mon" ]
++ (if stdenv.isLinux then [ "--with-inotify" ] else [ "--without-inotify" ]);
configureFlags = [
"--enable-recollq"
"--disable-webkit"
"--without-systemd"
] ++ lib.optionals (!withGui) [
"--disable-qtgui"
"--disable-x11mon"
] ++ (if stdenv.isLinux then [
"--with-inotify"
] else [
"--without-inotify"
]);
NIX_CFLAGS_COMPILE = [ "-DNIXPKGS" ];
@ -54,13 +63,23 @@ mkDerivation rec {
];
nativeBuildInputs = [
file pkg-config python3Packages.setuptools which
file
pkg-config
python3Packages.setuptools
which
];
buildInputs = [
bison chmlib python3Packages.python xapian zlib
] ++ lib.optional withGui qtbase
++ lib.optional stdenv.isDarwin libiconv;
bison
chmlib
python3Packages.python
xapian
zlib
] ++ lib.optional withGui [
qtbase
] ++ lib.optional stdenv.isDarwin [
libiconv
];
# the filters search through ${PATH} using a sh proc 'checkcmds' for the
# filtering utils. Short circuit this by replacing the filtering command with
@ -108,7 +127,8 @@ mkDerivation rec {
members, email attachments.
'';
homepage = "https://www.lesbonscomptes.com/recoll/";
license = licenses.gpl2;
changelog = "https://www.lesbonscomptes.com/recoll/pages/release-${version}.html";
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ jcumming ];
};