nixpkgs/pkgs/applications/graphics/phototonic/default.nix

31 lines
824 B
Nix
Raw Normal View History

2017-06-02 15:40:19 +00:00
{ stdenv, fetchFromGitHub, qtbase, qmake, exiv2 }:
2015-11-22 12:00:57 +00:00
stdenv.mkDerivation rec {
name = "phototonic-${version}";
2016-03-25 16:21:30 +00:00
version = "1.7.1";
2015-11-22 12:00:57 +00:00
src = fetchFromGitHub {
repo = "phototonic";
owner = "oferkv";
2016-03-25 16:21:30 +00:00
# There is currently no tag for 1.7.1 see
# https://github.com/oferkv/phototonic/issues/214
rev = "c37070e4a068570d34ece8de1e48aa0882c80c5b";
2015-11-22 12:00:57 +00:00
sha256 = "1agd3bsrpljd019qrjvlbim5l0bhpx53dhpc0gvyn0wmcdzn92gj";
};
2015-12-20 02:21:18 +00:00
buildInputs = [ qtbase exiv2 ];
2017-06-02 15:40:19 +00:00
nativeBuildInputs = [ qmake ];
2015-11-22 12:00:57 +00:00
preConfigure = ''
sed -i 's;/usr;$$PREFIX/;g' phototonic.pro
2015-11-22 12:00:57 +00:00
'';
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 ];
};
}