nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 793 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5}: 6 7stdenv.mkDerivation { 8 pname = "exifprobe"; 9 version = "2.0.1-unstable-2018-06-19"; 10 11 src = fetchFromGitHub { 12 owner = "hfiguiere"; 13 repo = "exifprobe"; 14 rev = "ce1ea2bc3dbbe8092b26f41cd89831cafe633d69"; 15 sha256 = "1c1fhc0v1m452lgnfcijnvrc0by06qfbhn3zkliqi60kv8l2isbp"; 16 }; 17 18 CFLAGS = [ "-O2" ]; 19 20 installFlags = [ "DESTDIR=$(out)" ]; 21 22 postInstall = '' 23 mv $out/usr/bin $out/bin 24 mv $out/usr/share $out/share 25 rm -r $out/usr 26 ''; 27 28 meta = { 29 description = "Tool for reading EXIF data from image files produced by digital cameras"; 30 homepage = "https://github.com/hfiguiere/exifprobe"; 31 license = lib.licenses.bsd2; 32 maintainers = with lib.maintainers; [ siraben ]; 33 platforms = lib.platforms.unix; 34 }; 35}