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