nixpkgs/pkgs/development/tools/misc/intltool/default.nix

34 lines
1013 B
Nix
Raw Normal View History

2013-01-31 16:41:07 +00:00
{ stdenv, fetchurl, perl, perlXMLParser, gettext }:
2012-11-25 19:58:04 +00:00
let
s = # Generated upstream information
rec {
baseName="intltool";
version="0.50.2";
name="intltool-0.50.2";
hash="01j4yd7i84n9nk4ccs6yifg84pp68nr9by57jdbhj7dpdxf5rwk7";
url="https://launchpad.net/intltool/trunk/0.50.2/+download/intltool-0.50.2.tar.gz";
sha256="01j4yd7i84n9nk4ccs6yifg84pp68nr9by57jdbhj7dpdxf5rwk7";
};
propagatedBuildInputs = [perl perlXMLParser];
buildInputs = [];
in
2013-01-31 16:41:07 +00:00
stdenv.mkDerivation {
2012-11-25 19:58:04 +00:00
inherit (s) name version;
src = fetchurl {
inherit (s) url sha256;
};
2013-01-31 16:41:07 +00:00
inherit buildInputs;
# not needed by intltool itself but (probably) needed for its usage
propagatedBuildInputs = propagatedBuildInputs ++ [ gettext ];
2012-11-25 19:58:04 +00:00
meta = {
description = "Translation helper tool";
homepage = "http://launchpad.net/intltool/";
2012-11-26 15:11:32 +00:00
license = stdenv.lib.licenses.gpl2Plus;
2012-11-25 19:58:04 +00:00
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
inherit (s) version;
};
}