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

32 lines
653 B
Nix
Raw Normal View History

2020-02-24 22:11:41 +01:00
{ mkDerivation, lib, fetchFromGitHub, qmake, qtbase }:
mkDerivation rec {
2019-05-28 22:12:38 +02:00
pname = "qview";
2020-01-23 00:33:25 +01:00
version = "3.0";
2020-02-24 22:11:41 +01:00
src = fetchFromGitHub {
owner = "jurplel";
repo = "qView";
2019-05-28 22:12:38 +02:00
rev = version;
2020-01-23 00:33:25 +01:00
sha256 = "15a91bs3wcqhgf76wzigbn10hayg628j84pq4j2vaxar94ak0vk7";
};
2020-02-24 22:11:41 +01:00
nativeBuildInputs = [ qmake ];
2020-02-24 22:11:41 +01:00
buildInputs = [
qtbase
];
patchPhase = ''
sed "s|/usr/|$out/|g" -i qView.pro
'';
2020-02-24 22:11:41 +01:00
meta = with lib; {
description = "Practical and minimal image viewer";
2019-05-28 22:12:38 +02:00
homepage = "https://interversehq.com/qview/";
license = licenses.gpl3;
maintainers = with maintainers; [ acowley ];
platforms = platforms.all;
};
}