Add PODIFF, a tool to diff PO files

This commit is contained in:
Cillian de Róiste 2013-01-30 14:36:50 +01:00
parent 8c0179bdde
commit 72cc82d49a
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "podiff-${version}";
version = "1.1";
src = fetchurl {
url = "ftp://download.gnu.org.ua/pub/release/podiff/podiff-1.1.tar.gz";
sha256 = "1zz6bcmka5zvk2rq775qv122lqh54aijkxlghvx7z0r6kh880x59";
};
patchPhase = ''
sed "s#PREFIX=/usr#PREFIX=$out#g" -i Makefile
mkdir -p $out/bin
mkdir -p $out/share/man/man1
'';
meta = with stdenv.lib; {
description = "Finds differences in translations between two PO files, or revisions";
homepage = http://puszcza.gnu.org.ua/software/podiff;
license = licenses.gpl3Plus;
maintainers = [ maintainers.goibhniu ];
};
}

View File

@ -1359,6 +1359,8 @@ let
libpng = libpng12;
};
podiff = callPackage ../tools/text/podiff { };
polipo = callPackage ../servers/polipo { };
polkit_gnome = callPackage ../tools/security/polkit-gnome { };