depot/pkgs/by-name/re/read-it-later/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

67 lines
1.3 KiB
Nix

{ lib
, stdenv
, fetchFromGitLab
, rustPlatform
, meson
, ninja
, pkg-config
, rustc
, cargo
, wrapGAppsHook4
, desktop-file-utils
, libxml2
, libadwaita
, openssl
, libsoup_3
, webkitgtk_6_0
, sqlite
}:
stdenv.mkDerivation rec {
pname = "read-it-later";
version = "0.5.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "read-it-later";
rev = version;
hash = "sha256-A8u1fecJAsVlordgZmUJt/KZWxx6EWMhfdayKWHTTFY=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-wK7cegcjiu8i1Grey6ELoqAn2BrvElDXlCwafTLuFv0=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
rustPlatform.cargoSetupHook
rustc
cargo
wrapGAppsHook4
desktop-file-utils
libxml2.bin #xmllint
];
buildInputs = [
libadwaita
openssl
libsoup_3
webkitgtk_6_0
sqlite
];
meta = with lib; {
description = "Simple Wallabag client with basic features to manage articles";
homepage = "https://gitlab.gnome.org/World/read-it-later";
changelog = "https://gitlab.gnome.org/World/read-it-later/-/releases/${src.rev}";
license = licenses.gpl3Plus;
mainProgram = "read-it-later";
maintainers = with maintainers; [ aleksana ];
platforms = platforms.unix;
};
}