From fd73721aed1169fe173299d1a668dd30de97576d Mon Sep 17 00:00:00 2001 From: volth Date: Sat, 29 Jul 2017 08:27:14 +0000 Subject: [PATCH] Update default.nix --- pkgs/development/python-modules/amqplib/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/amqplib/default.nix b/pkgs/development/python-modules/amqplib/default.nix index 7c4ef99b0a2c..1f539ef6d395 100644 --- a/pkgs/development/python-modules/amqplib/default.nix +++ b/pkgs/development/python-modules/amqplib/default.nix @@ -1,13 +1,13 @@ -{ stdenv, buildPythonPackage, fetchPypi }: +{ stdenv, buildPythonPackage, fetchurl }: buildPythonPackage rec { pname = "amqplib"; version = "0.6.1"; name = "${pname}-${version}"; - src = fetchPypi { - inherit pname version; - sha256 = "0f2618b74d95cd360a6d46a309a3fb1c37d881a237e269ac195a69a34e0e2f62"; + src = fetchurl { + url = https://github.com/barryp/py-amqplib/archive/0.6.1.tar.gz; + sha256 = "04nsn68wz9m24rvbssirkyighazbn20j60wjmi0r7jcpcf00sb3s"; }; # error: invalid command 'test'