depot/third_party/nixpkgs/pkgs/by-name/be/betula/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

27 lines
762 B
Nix

{ lib
, fetchFromSourcehut
, buildGoModule
}: buildGoModule rec {
pname = "betula";
version = "1.1.0";
src = fetchFromSourcehut {
owner = "~bouncepaw";
repo = "betula";
rev = "v${version}";
hash = "sha256-MH6YeWG94YVBgx5Es3oMJ9A/hAPPBXpAcIdCJV3HX78=";
};
vendorHash = "sha256-wiMIhoSO7nignNWY16OpDYZCguRbcEwwO/HggKSC5jM=";
CGO_ENABLED = 1;
# These tests use internet, so are failing in Nix build.
# See also: https://todo.sr.ht/~bouncepaw/betula/91
checkFlags = "-skip=TestTitles|TestHEntries";
meta = with lib; {
description = "Single-user self-hosted bookmarking software";
homepage = "https://betula.mycorrhiza.wiki/";
license = licenses.agpl3Only;
maintainers = with maintainers; [ GoldsteinE ];
};
}