default.nix (682B)
1 { lib, stdenv, libgit2, fetchFromGitea }: 2 3 stdenv.mkDerivation rec { 4 pname = "stagit-gemini"; 5 version = "2020-01-18"; 6 7 src = fetchFromGitea { 8 domain = "git.rawtext.club"; 9 owner = "sloum"; 10 repo = pname; 11 rev = "2710449792748ac3fefe4ba2500afce1ed193e37"; 12 sha256 = "sha256-Tm9jXkGtUNeZNhtHjozWN35z8gL/KcACLvby2Z73vxU="; 13 }; 14 15 makeFlags = [ "PREFIX=$(out)" ]; 16 17 buildInputs = [ libgit2 ]; 18 19 meta = with lib; { 20 description = "Fork of stagit-gopher that ports the output to gemini"; 21 homepage = "https://git.rawtext.club/sloum/stagit-gemini"; 22 license = licenses.mit; 23 platforms = platforms.unix; 24 maintainers = [ maintainers.sikmir ]; 25 }; 26 }