mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
pythonPackages.etcd: switch to fetchFromGitHub
This commit is contained in:
parent
848e1bf2a6
commit
971ee7fe70
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, simplejson
|
||||
, pytz
|
||||
, requests
|
||||
@ -11,9 +11,11 @@ buildPythonPackage rec {
|
||||
version = "2.0.8";
|
||||
|
||||
# PyPI package is incomplete
|
||||
src = fetchurl {
|
||||
url = "https://github.com/dsoprea/PythonEtcdClient/archive/${version}.tar.gz";
|
||||
sha256 = "0fi6rxa1yxvz7nwrc7dw6fax3041d6bj3iyhywjgbkg7nadi9i8v";
|
||||
src = fetchFromGitHub {
|
||||
owner = "dsoprea";
|
||||
repo = "PythonEtcdClient";
|
||||
rev = version;
|
||||
sha256 = "sha256-h+jYIRSNdrGkW3tBV1ifIDEXU46EQGyeJoz/Mxym4pI=";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user