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>
wip/yesman
aszlig 10 years ago
parent eecd932493
commit d84ea8aea7
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961
  1. 13
      pkgs/tools/audio/beets/default.nix

@ -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

Loading…
Cancel
Save