Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 61 lines 1.0 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, pkg-config 5 6, bzip2 7, curl 8, fribidi 9, gtk3 10, iconv 11, libcpuid 12, libjpeg 13, libpng 14, libwebp 15, libxml2 16, zlib 17}: 18 19stdenv.mkDerivation rec { 20 pname = "smooth"; 21 version = "0.9.10"; 22 23 src = fetchFromGitHub { 24 owner = "enzo1982"; 25 repo = "smooth"; 26 rev = "v${version}"; 27 sha256 = "sha256-J2Do1iAbE1GBC8co/4nxOzeGJQiPRc+21fgMDpzKX+A="; 28 }; 29 30 nativeBuildInputs = [ 31 pkg-config 32 ]; 33 34 makeFlags = [ 35 "prefix=$(out)" 36 "config=systemlibbz2,systemlibcpuid,systemlibcurl,systemlibfribidi,systemlibiconv,systemlibjpeg,systemlibpng,systemlibwebp,systemlibxml2,systemzlib" 37 ]; 38 39 buildInputs = [ 40 bzip2 41 curl 42 fribidi 43 gtk3 44 iconv 45 libcpuid 46 libjpeg 47 libpng 48 libwebp 49 libxml2 50 zlib 51 ]; 52 53 meta = with lib; { 54 description = "Smooth Class Library"; 55 mainProgram = "smooth-translator"; 56 license = licenses.artistic2; 57 homepage = "http://www.smooth-project.org/"; 58 maintainers = with maintainers; [ shamilton ]; 59 platforms = platforms.linux; 60 }; 61}