3
0
Fork 0
forked from mirrors/nixpkgs

qscreenshot: init at 1.0

Create and edit screenshots.
This commit is contained in:
Bjørn Forsman 2016-05-25 18:27:13 +02:00
parent 331fa2feff
commit 41fa133548
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ stdenv, fetchurl, dos2unix, which, qt }:
stdenv.mkDerivation rec {
name = "qscreenshot-1.0";
src = fetchurl {
url = "mirror://sourceforge/qscreenshot/${name}-src.tar.gz";
sha256 = "1spj5fg2l8p5bk81xsv6hqn1kcrdiy54w19jsfb7g5i94vcb1pcx";
};
buildInputs = [ dos2unix which qt ];
# Remove carriage returns that cause /bin/sh to abort
preConfigure = ''
dos2unix configure
sed -i "s|lrelease-qt4|lrelease|" src/src.pro
'';
meta = with stdenv.lib; {
description = "Simple creation and editing of screenshots";
homepage = https://sourceforge.net/projects/qscreenshot/;
license = licenses.gpl2;
platforms = platforms.all;
maintainers = [ maintainers.bjornfor ];
};
}

View file

@ -13848,6 +13848,10 @@ in
qsampler = callPackage ../applications/audio/qsampler { };
qscreenshot = callPackage ../applications/graphics/qscreenshot {
qt = qt4;
};
qsynth = callPackage ../applications/audio/qsynth { };
qtox = qt5.callPackage ../applications/networking/instant-messengers/qtox { };