summary refs log tree commit diff
path: root/pkgs/development/tools/misc/gob2/default.nix
blob: ca8d0c6f71738f61efef1d2d1f9be7ffa7c27fdc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, pkgconfig, glib, bison, flex }:

stdenv.mkDerivation rec {
  name = "gob2-${minVer}.18";
  minVer = "2.0";

  src = fetchurl {
    url = "mirror://gnome/sources/gob2/${minVer}/${name}.tar.gz";
    sha256 = "1r242s3rsxyqiw2ic2gdpvvrx903jgjd1aa4mkl26in5k9zk76fa";
  };

  # configure script looks for d-bus but it is only needed for tests
  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ glib bison flex ];

  meta = {
    description = "Preprocessor for making GObjects with inline C code";
    homepage = http://www.jirka.org/gob.html;
    license = stdenv.lib.licenses.gpl2Plus;
    platforms = stdenv.lib.platforms.unix;
  };
}