about summary refs log tree commit diff
path: root/pkgs/by-name/be
diff options
context:
space:
mode:
authorGoldstein <root@goldstein.rs>2023-11-25 18:35:35 +0300
committerGoldstein <root@goldstein.rs>2023-11-25 18:35:35 +0300
commit3d9a0c1e432985b52dea3c612c86b9c9fa0bec5a (patch)
tree4d9504ba55180f251edb60c431a5d1335caddad2 /pkgs/by-name/be
parent17983f679ae893336a050c79312f8a8de48470e6 (diff)
betula: init at 1.1.0
Diffstat (limited to 'pkgs/by-name/be')
-rw-r--r--pkgs/by-name/be/betula/package.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/by-name/be/betula/package.nix b/pkgs/by-name/be/betula/package.nix
new file mode 100644
index 0000000000000..b6ed66a4e6906
--- /dev/null
+++ b/pkgs/by-name/be/betula/package.nix
@@ -0,0 +1,27 @@
+{ 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 ];
+  };
+}