git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #12888 from vanzef/qtscrob

Qtscrob

commit6a2cbbb24a076459e9953d708c42f1b03a10fb9c authorNikolay Amiantov <ab@fmap.me> dateTue 9 Feb 2016, 17:20 (11 years ago) parent31f160e3482020
3 files changed+39
lib/maintainers.nix+1 pkgs/applications/audio/qtscrobbler/default.nix+36 pkgs/top-level/all-packages.nix+2
lib/maintainers.nix+1
@@ -322,6 +322,7 @@
322322 twey = "James ‘Twey’ Kay <twey@twey.co.uk>";
323323 urkud = "Yury G. Kudryashov <urkud+nix@ya.ru>";
324324 vandenoever = "Jos van den Oever <jos@vandenoever.info>";
325+ vanzef = "Ivan Solyankin <vanzef@gmail.com>";
325326 vbgl = "Vincent Laporte <Vincent.Laporte@gmail.com>";
326327 vbmithr = "Vincent Bernardoff <vb@luminar.eu.org>";
327328 vcunat = "Vladimír Čunát <vcunat@gmail.com>";
pkgs/applications/audio/qtscrobbler/default.nixnew file+36
@@ -0,0 +1,36 @@
1+{ stdenv, lib, fetchurl, withMtp ? true, libmtp, pkgconfig, which, qt4 }:
2+
3+stdenv.mkDerivation rec {
4+ name = "qtscrobbler-${version}";
5+ version = "0.11";
6+
7+ src = fetchurl {
8+ url = "mirror://sourceforge/qtscrob/qtscrob/${version}/qtscrob-${version}.tar.bz2";
9+ sha256 = "01c8e48f616ed09504833d27d92fd62f455bd645ea2d1cc2a5f4c287d641daba";
10+ };
11+
12+ nativeBuildInputs = lib.optionals withMtp [ pkgconfig which ];
13+ buildInputs = [ qt4 ] ++ lib.optional withMtp libmtp;
14+
15+ enableParallelBuilding = true;
16+
17+ postPatch = ''
18+ cd src
19+ sed -i "s,/usr/local,$out," common.pri
20+ '';
21+
22+ configurePhase = "qmake";
23+
24+ meta = with lib; {
25+ description = "Qt based last.fm scrobbler";
26+ longDescription = ''
27+ QTScrobbler is a tool to upload information about the tracks you have played from your Digital Audio Player (DAP) to your last.fm account.
28+ It is able to gather this information from Apple iPods or DAPs running the Rockbox replacement firmware.
29+ '';
30+
31+ homepage = http://qtscrob.sourceforge.net;
32+ license = licenses.gpl2;
33+ maintainers = [ maintainers.vanzef ];
34+ platforms = platforms.linux;
35+ };
36+}
pkgs/top-level/all-packages.nix+2
@@ -13120,6 +13120,8 @@ let
1312013120
1312113121 qtractor = callPackage ../applications/audio/qtractor { };
1312213122
13123+ qtscrobbler = callPackage ../applications/audio/qtscrobbler { };
13124+
1312313125 quirc = callPackage ../tools/graphics/quirc {};
1312413126
1312513127 quodlibet = callPackage ../applications/audio/quodlibet {