nixpkgs/pkgs/development/tools/misc/gob2/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
829 B
Nix
Raw Normal View History

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