package.nix (686B)
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 __structuredAttrs = true; 14 15 src = fetchFromGitHub { 16 owner = "cls"; 17 repo = "libutf"; 18 rev = "ee5074db68f498a5c802dc9f1645f396c219938a"; 19 hash = "sha256-pgiomcCM3PKNdryj4F6DuH3EI8dTKOIt1hr2AvBXIoQ="; 20 }; 21 22 makeFlags = [ "CC:=$(CC)" ]; 23 24 installFlags = [ "PREFIX=$(out)" ]; 25 26 meta = { 27 description = "Plan 9 compatible UTF-8 C library"; 28 homepage = "https://github.com/cls/libutf"; 29 license = lib.licenses.mit; 30 maintainers = [ lib.maintainers.sikmir ]; 31 platforms = lib.platforms.unix; 32 }; 33 })
