mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
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 {
|
||||
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…
Reference in New Issue
Block a user