package.nix (804B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 libgrapheme, 6 }: 7 8 stdenv.mkDerivation (finalAttrs: { 9 pname = "lchat"; 10 version = "1.0-unstable-2024-07-14"; 11 12 __structuredAttrs = true; 13 14 src = fetchFromGitHub { 15 owner = "younix"; 16 repo = "lchat"; 17 rev = "0c43215d0b1981d1689105122da02b7e994e250a"; 18 hash = "sha256-MfwEXwTmSqFHSfVrqdlaLbCkU4lgsGeXBTCAhvQZCUo="; 19 }; 20 21 buildInputs = [ libgrapheme ]; 22 23 makeFlags = [ "CC:=$(CC)" ]; 24 25 installFlags = [ "PREFIX=$(out)" ]; 26 27 preInstall = "mkdir -p $out/bin $out/man/man1"; 28 29 meta = { 30 description = "line chat is a simple and elegant front end for ii-like chat programs"; 31 homepage = "https://github.com/younix/lchat"; 32 license = lib.licenses.isc; 33 maintainers = [ lib.maintainers.sikmir ]; 34 platforms = lib.platforms.unix; 35 }; 36 })
