nixpkgs-suyu/pkgs/tools/text/podiff/default.nix

26 lines
676 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2013-01-30 14:36:50 +01:00
2019-08-13 23:52:01 +02:00
stdenv.mkDerivation {
pname = "podiff";
2021-01-20 22:25:07 +01:00
version = "1.3";
2013-01-30 14:36:50 +01:00
src = fetchurl {
2021-01-20 22:25:07 +01:00
url = "ftp://download.gnu.org.ua/pub/release/podiff/podiff-1.3.tar.gz";
sha256 = "sha256-7fpix+GkXsfpRgnkHtk1iXF6ILHri7BtUhNPK6sDQFA=";
2013-01-30 14:36:50 +01:00
};
patchPhase = ''
sed "s#PREFIX=/usr#PREFIX=$out#g" -i Makefile
mkdir -p $out/bin
mkdir -p $out/share/man/man1
'';
meta = with lib; {
2013-01-30 14:36:50 +01:00
description = "Finds differences in translations between two PO files, or revisions";
homepage = "http://puszcza.gnu.org.ua/software/podiff";
2013-01-30 14:36:50 +01:00
license = licenses.gpl3Plus;
maintainers = [ maintainers.goibhniu ];
2021-03-04 08:26:30 +01:00
platforms = platforms.unix;
2013-01-30 14:36:50 +01:00
};
}