2015-04-05 05:22:12 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, bison, flex }:
|
2011-04-06 10:00:48 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-12-19 04:24:40 +00:00
|
|
|
name = "gob2-${minVer}.20";
|
2015-04-05 05:22:12 +00:00
|
|
|
minVer = "2.0";
|
2011-04-06 10:00:48 +00:00
|
|
|
|
2015-04-05 05:22:12 +00:00
|
|
|
src = fetchurl {
|
2017-12-19 04:24:40 +00:00
|
|
|
url = "mirror://gnome/sources/gob2/${minVer}/${name}.tar.xz";
|
|
|
|
sha256 = "5fe5d7990fd65b0d4b617ba894408ebaa6df453f2781c15a1cfdf2956c0c5428";
|
2011-04-06 10:00:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# configure script looks for d-bus but it is only needed for tests
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib bison flex ];
|
2011-04-06 10:00:48 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Preprocessor for making GObjects with inline C code";
|
2018-07-06 01:35:28 +00:00
|
|
|
homepage = https://www.jirka.org/gob.html;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2011-04-06 10:00:48 +00:00
|
|
|
};
|
|
|
|
}
|