mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 03:48:57 +00:00
3d98c0bf14
svn path=/nixpkgs/trunk/; revision=8107
15 lines
486 B
Nix
15 lines
486 B
Nix
{ input, stdenv, fetchurl, pkgconfig, perl, perlXMLParser, libxml2, libglade, libgnome
|
|
, libgnomecanvas, gettext}:
|
|
|
|
assert pkgconfig != null && perl != null && libxml2 != null
|
|
&& libglade != null && libgnome != null && libgnomecanvas != null;
|
|
|
|
# TODO 2.8.1 doesn't work
|
|
stdenv.mkDerivation {
|
|
inherit (input) name src;
|
|
buildInputs = [pkgconfig perl perlXMLParser libglade gettext];
|
|
propagatedBuildInputs = [libxml2 libgnome libgnomecanvas];
|
|
|
|
LDFLAGS="-lglib-2.0"; # !!! why?
|
|
}
|