depot/third_party/nixpkgs/pkgs/applications/graphics/phototonic/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
701 B
Nix

{ mkDerivation, stdenv, fetchFromGitHub, qtbase, qmake, exiv2 }:
mkDerivation rec {
pname = "phototonic";
version = "2.1";
src = fetchFromGitHub {
repo = "phototonic";
owner = "oferkv";
rev = "v${version}";
sha256 = "0csidmxl1sfmn6gq81vn9f9jckb4swz3sgngnwqa4f75lr6604h7";
};
buildInputs = [ qtbase exiv2 ];
nativeBuildInputs = [ qmake ];
preConfigure = ''
sed -i 's;/usr;$$PREFIX/;g' phototonic.pro
'';
meta = with stdenv.lib; {
description = "An image viewer and organizer";
homepage = "https://sourceforge.net/projects/phototonic/";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}