Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 59 lines 1.1 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, makeWrapper 5, pkg-config 6, which 7, bison 8, gnuplot 9, libxls 10, libxlsxwriter 11, libxml2 12, libzip 13, ncurses 14}: 15 16stdenv.mkDerivation rec { 17 pname = "sc-im"; 18 version = "0.8.3"; 19 20 src = fetchFromGitHub { 21 owner = "andmarti1424"; 22 repo = "sc-im"; 23 rev = "v${version}"; 24 sha256 = "sha256-QlnxMe0WsRX9J2xzpf2Udcf9+N3MvQWqmYl2YKsGpYM="; 25 }; 26 27 sourceRoot = "${src.name}/src"; 28 29 nativeBuildInputs = [ 30 makeWrapper 31 pkg-config 32 which 33 bison 34 ]; 35 36 buildInputs = [ 37 gnuplot 38 libxls 39 libxlsxwriter 40 libxml2 41 libzip 42 ncurses 43 ]; 44 45 makeFlags = [ "prefix=${placeholder "out"}" ]; 46 47 postInstall = '' 48 wrapProgram "$out/bin/sc-im" --prefix PATH : "${lib.makeBinPath [ gnuplot ]}" 49 ''; 50 51 meta = with lib; { 52 changelog = "https://github.com/andmarti1424/sc-im/blob/${src.rev}/CHANGES"; 53 homepage = "https://github.com/andmarti1424/sc-im"; 54 description = "An ncurses spreadsheet program for terminal"; 55 license = licenses.bsdOriginal; 56 maintainers = with maintainers; [ dotlambda ]; 57 platforms = platforms.unix; 58 }; 59}