nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 gnuplot,
6 iso8601,
7}:
8
9buildDunePackage (finalAttrs: {
10 pname = "gnuplot";
11 version = "0.7";
12
13 src = fetchFromGitHub {
14 owner = "c-cube";
15 repo = "ocaml-gnuplot";
16 tag = "v${finalAttrs.version}";
17 hash = "sha256-CTIjZbDM6LX6/dR6hF9f8ipb99CDHLV0y9qfsuiI/wo=";
18 };
19
20 propagatedBuildInputs = [
21 gnuplot
22 iso8601
23 ];
24
25 meta = {
26 homepage = "https://github.com/c-cube/ocaml-gnuplot";
27 description = "OCaml bindings to Gnuplot";
28 maintainers = [ lib.maintainers.bcdarwin ];
29 license = lib.licenses.lgpl21;
30 };
31})