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

26 lines
678 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2013-01-30 05:36:50 -08:00
2019-08-13 14:52:01 -07:00
stdenv.mkDerivation {
pname = "podiff";
2020-08-27 00:28:12 -07:00
version = "1.2";
2013-01-30 05:36:50 -08:00
src = fetchurl {
2020-08-27 00:28:12 -07:00
url = "ftp://download.gnu.org.ua/pub/release/podiff/podiff-1.2.tar.gz";
sha256 = "1l2b4hh53xlx28riigwarzkhxpv1pcz059xj1ka33ccvxc6c20k9";
2013-01-30 05:36:50 -08: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 05:36:50 -08:00
description = "Finds differences in translations between two PO files, or revisions";
homepage = "http://puszcza.gnu.org.ua/software/podiff";
2013-01-30 05:36:50 -08:00
license = licenses.gpl3Plus;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
2013-01-30 05:36:50 -08:00
};
}