Author: cillian
Date: Wed Apr 13 08:38:13 2011
New Revision: 26817
URL: https://svn.nixos.org/websvn/nix/?rev=26817&sc=1
Log:
Adding rockbox-utility, for installing/updating the rockbox firmware on mp3
players
Added:
nixpkgs/trunk/pkgs/tools/misc/rockbox-utility/
nixpkgs/trunk/pkgs/tools/misc/rockbox-utility/default.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/tools/misc/rockbox-utility/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/tools/misc/rockbox-utility/default.nix Wed Apr 13
08:38:13 2011 (r26817)
@@ -0,0 +1,31 @@
+{ stdenv, fetchurl, libusb, qt4 }:
+
+stdenv.mkDerivation rec {
+ name = "rockbox-utility-${version}";
+ version = "1.2.8";
+
+ src = fetchurl {
+ url =
"http://download.rockbox.org/rbutil/source/rbutil_${version}-src.tar.bz2";
+ sha256 = "1gjwlyrwvzfdhqdwvq1chdnjkcn9lk21ixp92h5y74826j3ahdgs";
+ };
+
+ buildInputs = [ libusb qt4 ];
+
+ preBuild = ''
+ cd rbutil/rbutilqt
+ qmake
+ '';
+
+ installPhase = ''
+ ensureDir $out/bin
+ cp RockboxUtility $out/bin
+ '';
+
+ meta = with stdenv.lib; {
+ description = "open source firmware for mp3 players";
+ homepage = http://www.rockbox.org;
+ license = licenses.gpl2;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.goibhniu ];
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Wed Apr 13 06:31:45
2011 (r26816)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Wed Apr 13 08:38:13
2011 (r26817)
@@ -1206,6 +1206,8 @@
rlwrap = callPackage ../tools/misc/rlwrap { };
+ rockbox_utility = callPackage ../tools/misc/rockbox-utility { };
+
rpPPPoE = builderDefsPackage (import ../tools/networking/rp-pppoe) {
inherit ppp;
};
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits