mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-03-13 18:19:00 +00:00
gnome-search-provider-recoll: init at 1.1.1
This commit is contained in:
parent
f528cb56b1
commit
4c1b83ce3b
32
pkgs/gnome-search-provider-recoll.nix
Normal file
32
pkgs/gnome-search-provider-recoll.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, lib, fetchurl, autoreconfHook, recoll, python3Packages, glib
|
||||
, gobject-introspection, wrapGAppsHook, gnome }:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "gnome-search-provider-recoll";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url =
|
||||
"https://www.lesbonscomptes.com/recoll/downloads/gssp-recoll-${version}.tar.gz";
|
||||
sha256 = "sha256-CSW1EvLXa4SXSak8wMFfBBqtS2LkSGeu4El9fEBN/aY=";
|
||||
};
|
||||
|
||||
format = "other";
|
||||
strictDeps = false;
|
||||
dontWrapGApps = true;
|
||||
nativeBuildInputs = [ wrapGAppsHook autoreconfHook gobject-introspection ];
|
||||
propagatedBuildInputs = [ recoll ]
|
||||
++ (with python3Packages; [ pydbus pygobject3 ]);
|
||||
buildInputs = [ glib ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace gssp-recoll.py --replace "/usr/share" "${gnome.gnome-shell}/share"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "GNOME search provider for Recoll";
|
||||
homepage = "https://www.lesbonscomptes.com/recoll/";
|
||||
license = licenses.lgpl21;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user