diff options
author | Pascal Wittmann <mail@pascal-wittmann.de> | 2015-11-22 13:00:57 +0100 |
---|---|---|
committer | Pascal Wittmann <mail@pascal-wittmann.de> | 2015-11-22 13:00:57 +0100 |
commit | 9877cfb600fb0c125a1cc7f0f4d128698837794d (patch) | |
tree | 417ebb01539943a75365e7b7854db94923b8e281 /pkgs/applications/graphics/phototonic | |
parent | 5f34fb2c16e2e471e584a7d4488ed098fff7180f (diff) |
phototonic: init at 1.7
Diffstat (limited to 'pkgs/applications/graphics/phototonic')
-rw-r--r-- | pkgs/applications/graphics/phototonic/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/phototonic/default.nix b/pkgs/applications/graphics/phototonic/default.nix new file mode 100644 index 0000000000000..f1a46b63d588c --- /dev/null +++ b/pkgs/applications/graphics/phototonic/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchFromGitHub, qt5, exiv2 }: + +stdenv.mkDerivation rec { + name = "phototonic-${version}"; + version = "1.7"; + + src = fetchFromGitHub { + repo = "phototonic"; + owner = "oferkv"; + rev = "v${version}"; + sha256 = "1agd3bsrpljd019qrjvlbim5l0bhpx53dhpc0gvyn0wmcdzn92gj"; + }; + + buildInputs = [ qt5.base exiv2 ]; + + configurePhase = '' + sed -i 's;/usr;;' phototonic.pro + qmake PREFIX="" + ''; + + installFlags = [ "INSTALL_ROOT=$(out)" ]; + + 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 ]; + }; +} |