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:
parent
eecd932493
commit
d84ea8aea7
|
@ -1,12 +1,15 @@
|
||||||
{ stdenv, fetchurl, buildPythonPackage, pythonPackages, python }:
|
{ stdenv, fetchFromGitHub, buildPythonPackage, pythonPackages, python }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "beets-1.3.9";
|
name = "beets-${version}";
|
||||||
|
version = "1.3.9";
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://pypi.python.org/packages/source/b/beets/${name}.tar.gz";
|
owner = "sampsyo";
|
||||||
md5 = "0211b4abfe7887da22c1413e761fdcb4";
|
repo = "beets";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1srhkiyjqx6i3gn20ihf087l5pa77yh5b81ivc52lj491fda7xqk";
|
||||||
};
|
};
|
||||||
|
|
||||||
# tests depend on $HOME setting
|
# tests depend on $HOME setting
|
||||||
|
|
Loading…
Reference in a new issue