nixpkgs/pkgs/tools/graphics/exiftags/default.nix

27 lines
609 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{lib, stdenv, fetchurl}:
stdenv.mkDerivation {
name = "exiftags-1.01";
src = fetchurl {
url = "https://johnst.org/sw/exiftags/exiftags-1.01.tar.gz";
sha256 = "194ifl6hybx2a5x8jhlh9i56k3qfc6p2l72z0ii1b7v0bzg48myr";
};
patchPhase = ''
sed -i -e s@/usr/local@$out@ Makefile
'';
preInstall = ''
mkdir -p $out/bin $out/man/man1
'';
meta = {
homepage = "http://johnst.org/sw/exiftags/";
description = "Displays EXIF data from JPEG files";
2021-01-15 09:19:50 +00:00
license = lib.licenses.free;
maintainers = with lib.maintainers; [viric];
platforms = with lib.platforms; unix;
};
}