nur-packages

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

milotier.nix (647B)


      1 {
      2   lib,
      3   stdenv,
      4   libgit2,
      5   fetchgit,
      6 }:
      7 
      8 stdenv.mkDerivation {
      9   pname = "stagit-gemini";
     10   version = "2022-07-08";
     11 
     12   src = fetchgit {
     13     url = "https://git.milotier.net/stagit-gemini";
     14     rev = "eddfa077851ffcdbdf377f7920fb481025f7ba31";
     15     hash = "sha256-U97Ex0OtR8eXvd6vK3rbrGlK7moEvBnVWUTwPyMUgPI=";
     16   };
     17 
     18   makeFlags = [ "PREFIX=$(out)" ];
     19 
     20   buildInputs = [ libgit2 ];
     21 
     22   meta = {
     23     description = "A fork of stagit-gopher that generates gemtext";
     24     homepage = "https://git.milotier.net/git/stagit-gemini/";
     25     license = lib.licenses.mit;
     26     platforms = lib.platforms.unix;
     27     maintainers = [ lib.maintainers.sikmir ];
     28   };
     29 }