2019-04-24 23:46:07 -07:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, bison, flex, gnome3 }:
|
2011-04-06 03:00:48 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-24 23:46:07 -07:00
|
|
|
pname = "gob2";
|
|
|
|
version = "2.0.20";
|
2011-04-06 03:00:48 -07:00
|
|
|
|
2015-04-04 22:22:12 -07:00
|
|
|
src = fetchurl {
|
2019-04-24 23:46:07 -07:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2017-12-18 20:24:40 -08:00
|
|
|
sha256 = "5fe5d7990fd65b0d4b617ba894408ebaa6df453f2781c15a1cfdf2956c0c5428";
|
2011-04-06 03:00:48 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
# configure script looks for d-bus but it is only needed for tests
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib bison flex ];
|
2011-04-06 03:00:48 -07:00
|
|
|
|
2019-04-24 23:46:07 -07:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-04-06 03:00:48 -07:00
|
|
|
meta = {
|
|
|
|
description = "Preprocessor for making GObjects with inline C code";
|
2019-05-04 06:59:55 -07:00
|
|
|
homepage = "https://www.jirka.org/gob.html";
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2011-04-06 03:00:48 -07:00
|
|
|
};
|
|
|
|
}
|