nur-packages

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

default.nix (658B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromSourcehut,
      5 }:
      6 
      7 stdenv.mkDerivation (finalAttrs: {
      8   pname = "poe";
      9   version = "1.8.2";
     10 
     11   src = fetchFromSourcehut {
     12     owner = "~strahinja";
     13     repo = "poe";
     14     rev = "v${finalAttrs.version}";
     15     hash = "sha256-fQSn/nm9N8RFz/MPKtEU/aCHTGy3J9W0oSGH+siVDmg=";
     16   };
     17 
     18   FALLBACKVER = finalAttrs.version;
     19 
     20   installFlags = [ "PREFIX=$(out)" ];
     21 
     22   meta = {
     23     description = ".po file editor";
     24     homepage = "https://strahinja.srht.site/poe";
     25     license = lib.licenses.gpl3Plus;
     26     maintainers = [ lib.maintainers.sikmir ];
     27     platforms = lib.platforms.linux;
     28     skip.ci = stdenv.isDarwin;
     29     mainProgram = "poe";
     30   };
     31 })