nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (775B)


      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   src = fetchFromGitHub {
     13     owner = "younix";
     14     repo = "lchat";
     15     rev = "0c43215d0b1981d1689105122da02b7e994e250a";
     16     hash = "sha256-MfwEXwTmSqFHSfVrqdlaLbCkU4lgsGeXBTCAhvQZCUo=";
     17   };
     18 
     19   buildInputs = [ libgrapheme ];
     20 
     21   makeFlags = [ "CC:=$(CC)" ];
     22 
     23   installFlags = [ "PREFIX=$(out)" ];
     24 
     25   preInstall = "mkdir -p $out/bin $out/man/man1";
     26 
     27   meta = {
     28     description = "line chat is a simple and elegant front end for ii-like chat programs";
     29     homepage = "https://github.com/younix/lchat";
     30     license = lib.licenses.isc;
     31     maintainers = [ lib.maintainers.sikmir ];
     32     platforms = lib.platforms.unix;
     33   };
     34 })