3
0
Fork 0
forked from mirrors/nixpkgs

beets: Switch to using fetchFromGitHub.

The reason for doing this is because the package on PyPI is missing some
files needed for running the test suite (for example:
test/test_completion.sh).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2014-12-30 22:46:22 +01:00
parent eecd932493
commit d84ea8aea7
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -1,12 +1,15 @@
{ stdenv, fetchurl, buildPythonPackage, pythonPackages, python }:
{ stdenv, fetchFromGitHub, buildPythonPackage, pythonPackages, python }:
buildPythonPackage rec {
name = "beets-1.3.9";
name = "beets-${version}";
version = "1.3.9";
namePrefix = "";
src = fetchurl {
url = "http://pypi.python.org/packages/source/b/beets/${name}.tar.gz";
md5 = "0211b4abfe7887da22c1413e761fdcb4";
src = fetchFromGitHub {
owner = "sampsyo";
repo = "beets";
rev = "v${version}";
sha256 = "1srhkiyjqx6i3gn20ihf087l5pa77yh5b81ivc52lj491fda7xqk";
};
# tests depend on $HOME setting