1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/applications/graphics/qview/default.nix
2019-05-28 16:12:38 -04:00

23 lines
606 B
Nix

{stdenv, fetchFromGitHub, qmake}:
stdenv.mkDerivation rec {
pname = "qview";
version = "2.0";
src = fetchFromGitHub {
owner = "jurplel";
repo = "qView";
rev = version;
sha256 = "1s29hz44rb5dwzq8d4i4bfg77dr0v3ywpvidpa6xzg7hnnv3mhi5";
};
nativeBuildInputs = [ qmake ];
patchPhase = ''
sed "s|/usr/|$out/|g" -i qView.pro
'';
meta = with stdenv.lib; {
description = "Practical and minimal image viewer";
homepage = "https://interversehq.com/qview/";
license = licenses.gpl3;
maintainers = with maintainers; [ acowley ];
platforms = platforms.all;
};
}