nur-packages

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

sloum.nix (697B)


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