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