default.nix (659B)
1 { 2 lib, 3 stdenv, 4 fetchFromSourcehut, 5 }: 6 7 stdenv.mkDerivation (finalAttrs: { 8 pname = "dtree"; 9 version = "0.2.11"; 10 11 src = fetchFromSourcehut { 12 owner = "~strahinja"; 13 repo = "dtree"; 14 rev = "v${finalAttrs.version}"; 15 hash = "sha256-MGBJshNiQgwr/0HMm4dm0eUqLHxyYIjBEA5ZdlVmoME="; 16 }; 17 18 FALLBACKVER = finalAttrs.version; 19 20 installFlags = [ "PREFIX=$(out)" ]; 21 22 meta = { 23 description = "Command line program to draw trees"; 24 homepage = "https://strahinja.srht.site/dtree"; 25 license = lib.licenses.gpl3Plus; 26 maintainers = [ lib.maintainers.sikmir ]; 27 platforms = lib.platforms.linux; 28 skip.ci = stdenv.isDarwin; 29 }; 30 })