gts: use multiple outputs and propagate glib
This commit is contained in:
parent
3140fa89c5
commit
08541e2e4a
@ -1,17 +1,20 @@
|
|||||||
{ fetchurl, stdenv, glib, pkgconfig, gettext }:
|
{ fetchurl, stdenv, pkgconfig, autoreconfHook, gettext, glib }:
|
||||||
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gts";
|
pname = "gts";
|
||||||
version = "0.7.6";
|
version = "0.7.6";
|
||||||
|
|
||||||
|
outputs = [ "bin" "dev" "out" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/gts/${pname}-${version}.tar.gz";
|
url = "mirror://sourceforge/gts/${pname}-${version}.tar.gz";
|
||||||
sha256 = "07mqx09jxh8cv9753y2d2jsv7wp8vjmrd7zcfpbrddz3wc9kx705";
|
sha256 = "07mqx09jxh8cv9753y2d2jsv7wp8vjmrd7zcfpbrddz3wc9kx705";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||||
buildInputs = [ glib gettext ];
|
buildInputs = [ gettext ];
|
||||||
|
propagatedBuildInputs = [ glib ];
|
||||||
|
|
||||||
doCheck = false; # fails with "permission denied"
|
doCheck = false; # fails with "permission denied"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user