forked from mirrors/nixpkgs
531e4b80c9
Only acts on one-line dependency lists.
23 lines
656 B
Nix
23 lines
656 B
Nix
{ stdenv, fetchurl, pkgconfig, glib, bison, flex }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gob2-${minVer}.18";
|
|
minVer = "2.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gob2/${minVer}/${name}.tar.gz";
|
|
sha256 = "1r242s3rsxyqiw2ic2gdpvvrx903jgjd1aa4mkl26in5k9zk76fa";
|
|
};
|
|
|
|
# configure script looks for d-bus but it is only needed for tests
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ glib bison flex ];
|
|
|
|
meta = {
|
|
description = "Preprocessor for making GObjects with inline C code";
|
|
homepage = http://www.jirka.org/gob.html;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|