Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 594 B view raw
1{ lib, buildDunePackage, fetchFromGitHub, gnuplot, iso8601 }: 2 3buildDunePackage rec { 4 pname = "gnuplot"; 5 version = "0.7"; 6 7 useDune2 = true; 8 9 minimumOCamlVersion = "4.03"; 10 11 src = fetchFromGitHub { 12 owner = "c-cube"; 13 repo = "ocaml-${pname}"; 14 rev = "v${version}"; 15 sha256 = "02pzi3lb57ysrdsba743s3vmnapjbxgq8ynlzpxbbs6cn1jj6ch9"; 16 }; 17 18 propagatedBuildInputs = [ gnuplot iso8601 ]; 19 20 meta = with lib; { 21 inherit (src.meta) homepage; 22 description = "Ocaml bindings to Gnuplot"; 23 maintainers = [ maintainers.bcdarwin ]; 24 license = licenses.lgpl21; 25 }; 26}