mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
e5275b36d7
svn path=/nixpkgs/branches/stdenv-updates/; revision=14676
15 lines
508 B
Nix
15 lines
508 B
Nix
{ input, stdenv, fetchurl, pkgconfig, perl, perlXMLParser, libxml2, libglade, libgnome
|
|
, libgnomecanvas, gettext, intltool }:
|
|
|
|
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 intltool ];
|
|
propagatedBuildInputs = [libxml2 libgnome libgnomecanvas];
|
|
|
|
LDFLAGS="-lglib-2.0"; # !!! why?
|
|
}
|