2021-01-25 09:26:54 +01:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, qtbase, qmake, exiv2 }:
|
2015-11-22 13:00:57 +01:00
|
|
|
|
2020-04-07 22:29:20 +02:00
|
|
|
mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "phototonic";
|
2018-11-04 15:45:44 +01:00
|
|
|
version = "2.1";
|
2015-11-22 13:00:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "phototonic";
|
|
|
|
owner = "oferkv";
|
2018-11-04 15:45:44 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0csidmxl1sfmn6gq81vn9f9jckb4swz3sgngnwqa4f75lr6604h7";
|
2015-11-22 13:00:57 +01:00
|
|
|
};
|
|
|
|
|
2015-12-20 03:21:18 +01:00
|
|
|
buildInputs = [ qtbase exiv2 ];
|
2017-06-02 17:40:19 +02:00
|
|
|
nativeBuildInputs = [ qmake ];
|
2015-11-22 13:00:57 +01:00
|
|
|
|
2016-04-16 21:59:19 +02:00
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's;/usr;$$PREFIX/;g' phototonic.pro
|
2015-11-22 13:00:57 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-11-22 13:00:57 +01:00
|
|
|
description = "An image viewer and organizer";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://sourceforge.net/projects/phototonic/";
|
2015-11-22 13:00:57 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|