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