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

29 lines
692 B
Nix
Raw Normal View History

2017-06-02 08:40:19 -07:00
{ stdenv, fetchFromGitHub, qtbase, qmake, exiv2 }:
2015-11-22 04:00:57 -08:00
stdenv.mkDerivation rec {
pname = "phototonic";
2018-11-04 06:45:44 -08:00
version = "2.1";
2015-11-22 04:00:57 -08:00
src = fetchFromGitHub {
repo = "phototonic";
owner = "oferkv";
2018-11-04 06:45:44 -08:00
rev = "v${version}";
sha256 = "0csidmxl1sfmn6gq81vn9f9jckb4swz3sgngnwqa4f75lr6604h7";
2015-11-22 04:00:57 -08:00
};
2015-12-19 18:21:18 -08:00
buildInputs = [ qtbase exiv2 ];
2017-06-02 08:40:19 -07:00
nativeBuildInputs = [ qmake ];
2015-11-22 04:00:57 -08:00
preConfigure = ''
sed -i 's;/usr;$$PREFIX/;g' phototonic.pro
2015-11-22 04:00:57 -08:00
'';
meta = with stdenv.lib; {
description = "An image viewer and organizer";
2017-11-11 08:36:33 -08:00
homepage = https://sourceforge.net/projects/phototonic/;
2015-11-22 04:00:57 -08:00
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}