Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 vala,
6 meson,
7 ninja,
8 pkg-config,
9 glib,
10 libgee,
11 gtk3,
12}:
13
14stdenv.mkDerivation rec {
15 pname = "caroline";
16 version = "0.3.1";
17
18 src = fetchFromGitHub {
19 owner = "dcharles525";
20 repo = "caroline";
21 rev = version;
22 hash = "sha256-v423h9EC/h6B9VABhkvmYcyYXKPpvqhI8O7ZjbO637k";
23 };
24
25 nativeBuildInputs = [
26 vala
27 meson
28 ninja
29 pkg-config
30 ];
31
32 buildInputs = [
33 glib
34 libgee
35 gtk3
36 ];
37
38 meta = with lib; {
39 description = "Simple Cairo Chart Library for GTK and Vala";
40 homepage = "https://github.com/dcharles525/Caroline";
41 maintainers = with maintainers; [ grindhold ];
42 license = licenses.mit;
43 platforms = platforms.unix;
44 };
45}