acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / re / read-it-later / package.nix
blobd25117c00b4c533f9fdbef6759fe66179d814df1
1 { lib
2 , stdenv
3 , fetchFromGitLab
4 , rustPlatform
5 , meson
6 , ninja
7 , pkg-config
8 , rustc
9 , cargo
10 , wrapGAppsHook4
11 , desktop-file-utils
12 , libxml2
13 , libadwaita
14 , openssl
15 , libsoup_3
16 , webkitgtk_6_0
17 , sqlite
20 stdenv.mkDerivation rec {
21   pname = "read-it-later";
22   version = "0.5.0";
24   src = fetchFromGitLab {
25     domain = "gitlab.gnome.org";
26     owner = "World";
27     repo = "read-it-later";
28     rev = version;
29     hash = "sha256-A8u1fecJAsVlordgZmUJt/KZWxx6EWMhfdayKWHTTFY=";
30   };
32   cargoDeps = rustPlatform.fetchCargoTarball {
33     inherit src;
34     name = "${pname}-${version}";
35     hash = "sha256-wK7cegcjiu8i1Grey6ELoqAn2BrvElDXlCwafTLuFv0=";
36   };
38   nativeBuildInputs = [
39     meson
40     ninja
41     pkg-config
42     rustPlatform.cargoSetupHook
43     rustc
44     cargo
45     wrapGAppsHook4
46     desktop-file-utils
47     libxml2.bin #xmllint
48   ];
50   buildInputs = [
51     libadwaita
52     openssl
53     libsoup_3
54     webkitgtk_6_0
55     sqlite
56   ];
58   meta = with lib; {
59     description = "Simple Wallabag client with basic features to manage articles";
60     homepage = "https://gitlab.gnome.org/World/read-it-later";
61     changelog = "https://gitlab.gnome.org/World/read-it-later/-/releases/${src.rev}";
62     license = licenses.gpl3Plus;
63     mainProgram = "read-it-later";
64     maintainers = with maintainers; [ aleksana ];
65     platforms = platforms.unix;
66   };