fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 stdenv,
4 fetchurl,
5}:
6stdenv.mkDerivation {
7 pname = "jpegexiforient";
8 version = "unstable-2002-02-17";
9 src = fetchurl {
10 url = "http://sylvana.net/jpegcrop/jpegexiforient.c";
11 sha256 = "1v0f42cvs0397g9v46p294ldgxwbp285npg6npgnlnvapk6nzh5s";
12 };
13 unpackPhase = ''
14 cp $src jpegexiforient.c
15 '';
16 buildPhase = ''
17 $CC -o jpegexiforient jpegexiforient.c
18 '';
19 installPhase = ''
20 install -Dt $out/bin jpegexiforient
21 '';
22 meta = with lib; {
23 description = "Utility program to get and set the Exif Orientation Tag";
24 homepage = "http://sylvana.net/jpegcrop/exif_orientation.html";
25 # Website doesn't mention any license, but I think it's safe to assume this
26 # to be free since it's from IJG, the current maintainers of libjpeg
27 license = licenses.free;
28 platforms = platforms.all;
29 maintainers = [ ];
30 mainProgram = "jpegexiforient";
31 };
32}