diff options
author | Ivan Solyankin <vanzef@gmail.com> | 2016-02-09 16:45:04 +0300 |
---|---|---|
committer | Ivan Solyankin <vanzef@gmail.com> | 2016-02-09 17:15:30 +0300 |
commit | 3482020486352802cfe2db5b219bc67914e68975 (patch) | |
tree | 7f02949590a0f9cb7e845af5d8d224b5982b3c19 /pkgs/applications/audio/qtscrobbler | |
parent | d4dcfa9a767dd4c82e152b2e6bc2caf1d53c4c3b (diff) | |
download | nixpkgs-3482020486352802cfe2db5b219bc67914e68975.tar nixpkgs-3482020486352802cfe2db5b219bc67914e68975.tar.gz nixpkgs-3482020486352802cfe2db5b219bc67914e68975.tar.bz2 nixpkgs-3482020486352802cfe2db5b219bc67914e68975.tar.lz nixpkgs-3482020486352802cfe2db5b219bc67914e68975.tar.xz nixpkgs-3482020486352802cfe2db5b219bc67914e68975.tar.zst nixpkgs-3482020486352802cfe2db5b219bc67914e68975.zip |
qtscrobbler: init at 0.11
Diffstat (limited to 'pkgs/applications/audio/qtscrobbler')
-rw-r--r-- | pkgs/applications/audio/qtscrobbler/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/audio/qtscrobbler/default.nix b/pkgs/applications/audio/qtscrobbler/default.nix new file mode 100644 index 00000000000..e7108ebe487 --- /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; + }; +} |