1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5 sqlite,
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "foxmarks";
10 version = "2.1.1";
11
12 src = fetchFromGitHub {
13 owner = "zer0-x";
14 repo = "foxmarks";
15 rev = "v${version}";
16 hash = "sha256-6lJ9acVo444RMxc3wUakBz4zT74oNUpwoP69rdf2mmE=";
17 };
18
19 cargoHash = "sha256-BAUqH2RVpLLXvN43J67xqtrQZT3OgNA9ot+joOB70DY=";
20
21 buildInputs = [ sqlite ];
22
23 meta = {
24 description = "CLI read-only interface for Mozilla Firefox's bookmarks";
25 homepage = "https://github.com/zer0-x/foxmarks";
26 changelog = "https://github.com/zer0-x/foxmarks/blobl/v${version}/CHANGELOG.md";
27 license = lib.licenses.gpl3;
28 maintainers = with lib.maintainers; [ loicreynier ];
29 };
30}