summary refs log tree commit diff
path: root/pkgs/development/libraries/smooth/default.nix
blob: f868623821129b2341b1327c16cf981b869f546b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ lib
, stdenv
, fetchFromGitHub
, pkg-config

, gtk3
, curl
, libxml2
}:

stdenv.mkDerivation rec {
  pname = "smooth";
  version = "0.9.6";

  src = fetchFromGitHub {
    owner = "enzo1982";
    repo = "smooth";
    rev = "v${version}";
    sha256 = "05j5gk6kz2089x8bcq2l0kjspfiiymxn69jcxl4dh9lw96blbadr";
  };

  nativeBuildInputs = [
    pkg-config
  ];

  makeFlags = [
    "prefix=$(out)"
  ];

  buildInputs = [
    gtk3
    curl
    libxml2
  ];

  meta = with lib; {
    description = "The smooth Class Library";
    license = licenses.artistic2;
    homepage = "http://www.smooth-project.org/";
    maintainers = with maintainers; [ shamilton ];
    platforms = platforms.linux;
  };
}