mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
Package the qView image viewer
A fast, unobtrusive Qt-based image viewer.
This commit is contained in:
parent
c7bcd4277c
commit
fbc46ae2ca
22
pkgs/applications/graphics/qview/default.nix
Normal file
22
pkgs/applications/graphics/qview/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{stdenv, fetchFromGitHub, qmake}:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qview-${version}";
|
||||
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;
|
||||
};
|
||||
}
|
@ -5456,6 +5456,8 @@ in
|
||||
|
||||
quota = if stdenv.isLinux then linuxquota else unixtools.quota;
|
||||
|
||||
qview = libsForQt5.callPackage ../applications/graphics/qview {};
|
||||
|
||||
wiggle = callPackage ../development/tools/wiggle { };
|
||||
|
||||
radamsa = callPackage ../tools/security/radamsa { };
|
||||
|
Loading…
Reference in New Issue
Block a user