mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
6dc6a549c8
This reverts commit a0dd8d5afe
.
31 lines
832 B
Nix
31 lines
832 B
Nix
{ stdenv, fetchFromGitHub, qtbase, qmakeHook, exiv2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "phototonic-${version}";
|
|
version = "1.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "phototonic";
|
|
owner = "oferkv";
|
|
# There is currently no tag for 1.7.1 see
|
|
# https://github.com/oferkv/phototonic/issues/214
|
|
rev = "c37070e4a068570d34ece8de1e48aa0882c80c5b";
|
|
sha256 = "1agd3bsrpljd019qrjvlbim5l0bhpx53dhpc0gvyn0wmcdzn92gj";
|
|
};
|
|
|
|
buildInputs = [ qtbase exiv2 ];
|
|
nativeBuildInputs = [ qmakeHook ];
|
|
|
|
preConfigure = ''
|
|
sed -i 's;/usr;$$PREFIX/;g' phototonic.pro
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "An image viewer and organizer";
|
|
homepage = http://oferkv.github.io/phototonic/;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|