mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
41 lines
839 B
Nix
41 lines
839 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchgit
|
|
, dos2unix
|
|
, qtbase
|
|
, qttools
|
|
, qtx11extras
|
|
, wrapQtAppsHook
|
|
, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qscreenshot";
|
|
version = "unstable-2021-10-18";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.code.sf.net/p/qscreenshot/code";
|
|
rev = "e340f06ae2f1a92a353eaa68e103d1c840adc12d";
|
|
sha256 = "0mdiwn74vngiyazr3lq72f3jnv5zw8wyd2dw6rik6dbrvfs69jig";
|
|
};
|
|
|
|
preConfigure = "cd qScreenshot";
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
qttools
|
|
wrapQtAppsHook
|
|
];
|
|
buildInputs = [
|
|
qtbase
|
|
qtx11extras
|
|
];
|
|
meta = with lib; {
|
|
description = "Simple creation and editing of screenshots";
|
|
mainProgram = "qScreenshot";
|
|
homepage = "https://sourceforge.net/projects/qscreenshot/";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
}
|