From d4dcfa9a767dd4c82e152b2e6bc2caf1d53c4c3b Mon Sep 17 00:00:00 2001 From: Ivan Solyankin Date: Tue, 9 Feb 2016 16:43:37 +0300 Subject: [PATCH 1/2] maintainers: add vanzef --- lib/maintainers.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/maintainers.nix b/lib/maintainers.nix index f73312db99e7..b7fbb90db0c0 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -316,6 +316,7 @@ twey = "James ‘Twey’ Kay "; urkud = "Yury G. Kudryashov "; vandenoever = "Jos van den Oever "; + vanzef = "Ivan Solyankin "; vbgl = "Vincent Laporte "; vbmithr = "Vincent Bernardoff "; vcunat = "Vladimír Čunát "; From 3482020486352802cfe2db5b219bc67914e68975 Mon Sep 17 00:00:00 2001 From: Ivan Solyankin Date: Tue, 9 Feb 2016 16:45:04 +0300 Subject: [PATCH 2/2] qtscrobbler: init at 0.11 --- .../audio/qtscrobbler/default.nix | 36 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/applications/audio/qtscrobbler/default.nix diff --git a/pkgs/applications/audio/qtscrobbler/default.nix b/pkgs/applications/audio/qtscrobbler/default.nix new file mode 100644 index 000000000000..e7108ebe4871 --- /dev/null +++ b/pkgs/applications/audio/qtscrobbler/default.nix @@ -0,0 +1,36 @@ +{ stdenv, lib, fetchurl, withMtp ? true, libmtp, pkgconfig, which, qt4 }: + +stdenv.mkDerivation rec { + name = "qtscrobbler-${version}"; + version = "0.11"; + + src = fetchurl { + url = "mirror://sourceforge/qtscrob/qtscrob/${version}/qtscrob-${version}.tar.bz2"; + sha256 = "01c8e48f616ed09504833d27d92fd62f455bd645ea2d1cc2a5f4c287d641daba"; + }; + + nativeBuildInputs = lib.optionals withMtp [ pkgconfig which ]; + buildInputs = [ qt4 ] ++ lib.optional withMtp libmtp; + + enableParallelBuilding = true; + + postPatch = '' + cd src + sed -i "s,/usr/local,$out," common.pri + ''; + + configurePhase = "qmake"; + + meta = with lib; { + description = "Qt based last.fm scrobbler"; + longDescription = '' + QTScrobbler is a tool to upload information about the tracks you have played from your Digital Audio Player (DAP) to your last.fm account. + It is able to gather this information from Apple iPods or DAPs running the Rockbox replacement firmware. + ''; + + homepage = http://qtscrob.sourceforge.net; + license = licenses.gpl2; + maintainers = [ maintainers.vanzef ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 92fd1d49a661..b38d374718a0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12991,6 +12991,8 @@ let qtractor = callPackage ../applications/audio/qtractor { }; + qtscrobbler = callPackage ../applications/audio/qtscrobbler { }; + quirc = callPackage ../tools/graphics/quirc {}; quodlibet = callPackage ../applications/audio/quodlibet {