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