mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
23 lines
606 B
Nix
23 lines
606 B
Nix
{stdenv, fetchFromGitHub, qmake}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "qview";
|
|
version = "3.0";
|
|
src = fetchFromGitHub {
|
|
owner = "jurplel";
|
|
repo = "qView";
|
|
rev = version;
|
|
sha256 = "15a91bs3wcqhgf76wzigbn10hayg628j84pq4j2vaxar94ak0vk7";
|
|
};
|
|
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;
|
|
};
|
|
}
|