2014-12-30 21:46:22 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildPythonPackage, pythonPackages, python }:
|
2014-12-30 02:23:37 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2014-12-30 21:46:22 +00:00
|
|
|
name = "beets-${version}";
|
|
|
|
version = "1.3.9";
|
2014-12-30 02:23:37 +00:00
|
|
|
namePrefix = "";
|
|
|
|
|
2014-12-30 21:46:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sampsyo";
|
|
|
|
repo = "beets";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1srhkiyjqx6i3gn20ihf087l5pa77yh5b81ivc52lj491fda7xqk";
|
2014-12-30 02:23:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# tests depend on $HOME setting
|
|
|
|
preConfigure = "export HOME=$TMPDIR";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pythonPackages.pyyaml
|
|
|
|
pythonPackages.unidecode
|
|
|
|
pythonPackages.mutagen
|
|
|
|
pythonPackages.munkres
|
|
|
|
pythonPackages.musicbrainzngs
|
|
|
|
pythonPackages.enum34
|
|
|
|
pythonPackages.pylast
|
|
|
|
pythonPackages.rarfile
|
|
|
|
pythonPackages.flask
|
|
|
|
python.modules.sqlite3
|
|
|
|
python.modules.readline
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = with pythonPackages; [ mock pyechonest six responses nose ];
|
|
|
|
|
|
|
|
# 10 tests are failing
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://beets.radbox.org;
|
|
|
|
description = "Music tagger and library organizer";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
2014-12-30 02:31:27 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ iElectric aszlig ];
|
2014-12-30 02:23:37 +00:00
|
|
|
};
|
|
|
|
}
|