mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
32 lines
653 B
Nix
32 lines
653 B
Nix
{ mkDerivation, lib, fetchFromGitHub, qmake, qtbase }:
|
|
|
|
mkDerivation rec {
|
|
pname = "qview";
|
|
version = "4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jurplel";
|
|
repo = "qView";
|
|
rev = version;
|
|
sha256 = "15n9cq7w3ckinnx38hvncxrbkv4qm4k51sal41q4y0pkvhmafhnr";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
];
|
|
|
|
patchPhase = ''
|
|
sed "s|/usr/|$out/|g" -i qView.pro
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Practical and minimal image viewer";
|
|
homepage = "https://interversehq.com/qview/";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ acowley ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|