hackgregator: init at 2024-12-05
N.B.: it uses appstream/bwrap, and hence much be run with capsh --caps=
This commit is contained in:
parent
9c00c2c5cc
commit
8a981c3ca9
|
@ -0,0 +1,46 @@
|
|||
{ rustPlatform
|
||||
, fetchFromGitLab
|
||||
, glib
|
||||
, gtk4
|
||||
, json-glib
|
||||
, libadwaita
|
||||
, libsoup_3
|
||||
, openssl
|
||||
, pkg-config
|
||||
, sqlite
|
||||
, webkitgtk_6_0
|
||||
, wrapGAppsHook4
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "hackgregator";
|
||||
# 0.5.0 uses libhandy + webkitgtk4; master uses libadwaita + webkitgtk6
|
||||
version = "0.5.0-unstable-2023-12-05";
|
||||
src = fetchFromGitLab {
|
||||
owner = "gunibert";
|
||||
repo = "hackgregator";
|
||||
# rev = version;
|
||||
# hash = "sha256-N7pSy4OP5dz8tSjif2d856z557PZjGXWpM+1e30K5pU=";
|
||||
rev = "594bdcdc3919c7216d611ddbbc77ab4d0c1f4f2b";
|
||||
hash = "sha256-RE0x4YWquWAcQzxGk9zdNjEp1pijrBtjV1EMBu9c5cs=";
|
||||
};
|
||||
# cargoHash = "sha256-WWrf3KMBeBCopOvPCTJSecdgOXvxVp8d3/lzvcNE2bk=";
|
||||
cargoHash = "sha256-OPlYFUhAFRHqXS2vad0QYlhcwyyxdxi1kjpTxVlgyxs=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
glib # for glib_build_tools
|
||||
pkg-config
|
||||
wrapGAppsHook4
|
||||
];
|
||||
buildInputs = [
|
||||
glib
|
||||
gtk4
|
||||
json-glib
|
||||
libadwaita
|
||||
libsoup_3
|
||||
openssl
|
||||
sqlite
|
||||
webkitgtk_6_0
|
||||
];
|
||||
|
||||
doCheck = false; # use of undeclared crate or module `mockito`
|
||||
}
|
|
@ -39,6 +39,7 @@ let
|
|||
gpodder = final'.gpodder-adaptive;
|
||||
};
|
||||
gpodder-configured = callPackage ./additional/gpodder-configured { };
|
||||
hackgregator = callPackage ./additional/hackgregator { };
|
||||
jellyfin-media-player-qt6 = callPackage ./additional/jellyfin-media-player-qt6 { };
|
||||
koreader-from-src = callPackage ./additional/koreader-from-src { };
|
||||
landlock-sandboxer = callPackage ./additional/landlock-sandboxer { };
|
||||
|
|
Loading…
Reference in New Issue