nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 826b637d472ced8cdcbaa5a0bfe2271b10ed056f
parent 8d68f2e59105d4451285db3d50eb7cf4b801dfed
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Thu, 13 May 2021 23:32:41 +0300

Add comitium

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/gemini/comitium/default.nix | 36++++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -172,6 +172,7 @@ lib.makeScope newScope ( ### GEMINI + comitium = callPackage ./gemini/comitium { }; geminid = callPackage ./gemini/geminid { }; gemreader = callPackage ./gemini/gemreader { }; gloggery = callPackage ./gemini/gloggery { }; diff --git a/pkgs/gemini/comitium/default.nix b/pkgs/gemini/comitium/default.nix @@ -0,0 +1,36 @@ +{ lib, buildGoModule, fetchgit, scdoc }: + +buildGoModule rec { + pname = "comitium"; + version = "1.7.0"; + + src = fetchgit { + url = "git://git.nytpu.com/comitium"; + rev = "v${version}"; + sha256 = "sha256-DI6Wb8xcDN2tbVvh74BKdmpQsdpH87QIggGyFNo11p4="; + }; + + vendorSha256 = "sha256-dEywsGjLuaZ+Yv5IfuPHcKYZ8hyZ1Qf46LOF2RGcpxo="; + + nativeBuildInputs = [ scdoc ]; + + buildPhase = '' + runHook preBuild + make COMMIT=tarball + runHook postBuild + ''; + + installPhase = '' + runHook preInstall + make PREFIX=$out install + runHook postInstall + ''; + + meta = with lib; { + description = "A feed aggregator for gemini supporting many formats and protocols"; + homepage = "https://git.nytpu.com/comitium/about/"; + license = licenses.agpl3; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}