2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "podiff";
|
2022-12-28 21:21:41 +00:00
|
|
|
version = "1.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-12-28 21:21:41 +00:00
|
|
|
url = "ftp://download.gnu.org.ua/pub/release/podiff/podiff-1.4.tar.gz";
|
|
|
|
sha256 = "sha256-IxUx87CxdhWh8MqdcSo8GWaG358aZBaIx0oldK94sio=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed "s#PREFIX=/usr#PREFIX=$out#g" -i Makefile
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/share/man/man1
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Finds differences in translations between two PO files, or revisions";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "podiff";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://puszcza.gnu.org.ua/software/podiff";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2021-03-09 03:18:52 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|