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