at 23.11-beta 29 lines 829 B view raw
1{ lib, stdenv, fetchurl, pkg-config, glib, bison, flex, gnome }: 2 3stdenv.mkDerivation rec { 4 pname = "gob2"; 5 version = "2.0.20"; 6 7 src = fetchurl { 8 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 sha256 = "5fe5d7990fd65b0d4b617ba894408ebaa6df453f2781c15a1cfdf2956c0c5428"; 10 }; 11 12 # configure script looks for d-bus but it is only needed for tests 13 nativeBuildInputs = [ pkg-config ]; 14 buildInputs = [ glib bison flex ]; 15 16 passthru = { 17 updateScript = gnome.updateScript { 18 packageName = pname; 19 versionPolicy = "none"; 20 }; 21 }; 22 23 meta = { 24 description = "Preprocessor for making GObjects with inline C code"; 25 homepage = "https://www.jirka.org/gob.html"; 26 license = lib.licenses.gpl2Plus; 27 platforms = lib.platforms.unix; 28 }; 29}