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 | |
parent | 5f34fb2c16e2e471e584a7d4488ed098fff7180f (diff) |
phototonic: init at 1.7
-rw-r--r-- | pkgs/applications/graphics/phototonic/default.nix | 30 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 32 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a17bf44e9c582..2a232453eca20 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12655,6 +12655,8 @@ let photoqt = callPackage ../applications/graphics/photoqt { }; + phototonic = callPackage ../applications/graphics/phototonic { }; + pianobar = callPackage ../applications/audio/pianobar { }; pianobooster = callPackage ../applications/audio/pianobooster { }; |