mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
90fbf71333
Inactive in Nixpkgs since 2018 (and a single PR in 2022). https://github.com/NixOS/nixpkgs/issues?q=author%3Acillianderoiste
27 lines
683 B
Nix
27 lines
683 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "podiff";
|
|
version = "1.4";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://download.gnu.org.ua/pub/release/podiff/podiff-1.4.tar.gz";
|
|
sha256 = "sha256-IxUx87CxdhWh8MqdcSo8GWaG358aZBaIx0oldK94sio=";
|
|
};
|
|
|
|
patchPhase = ''
|
|
sed "s#PREFIX=/usr#PREFIX=$out#g" -i Makefile
|
|
mkdir -p $out/bin
|
|
mkdir -p $out/share/man/man1
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Finds differences in translations between two PO files, or revisions";
|
|
mainProgram = "podiff";
|
|
homepage = "http://puszcza.gnu.org.ua/software/podiff";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|