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