nur-packages

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

default.nix (657B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   libutf,
      6   ncurses,
      7 }:
      8 
      9 stdenv.mkDerivation (finalAttrs: {
     10   pname = "libutf";
     11   version = "0.1-unstable-2018-11-13";
     12 
     13   src = fetchFromGitHub {
     14     owner = "cls";
     15     repo = "libutf";
     16     rev = "ee5074db68f498a5c802dc9f1645f396c219938a";
     17     hash = "sha256-pgiomcCM3PKNdryj4F6DuH3EI8dTKOIt1hr2AvBXIoQ=";
     18   };
     19 
     20   makeFlags = [ "CC:=$(CC)" ];
     21 
     22   installFlags = [ "PREFIX=$(out)" ];
     23 
     24   meta = {
     25     description = "Plan 9 compatible UTF-8 C library";
     26     homepage = "https://github.com/cls/libutf";
     27     license = lib.licenses.mit;
     28     maintainers = [ lib.maintainers.sikmir ];
     29     platforms = lib.platforms.unix;
     30   };
     31 })