From d4838aea5b6efad038539617a471903f5334408e Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Thu, 15 Oct 2020 18:10:31 -0700 Subject: [PATCH] python3Packages.memcached: Fix fetch URL --- pkgs/development/python-modules/memcached/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/memcached/default.nix b/pkgs/development/python-modules/memcached/default.nix index 654731604807..0e1ec2a2765c 100644 --- a/pkgs/development/python-modules/memcached/default.nix +++ b/pkgs/development/python-modules/memcached/default.nix @@ -6,11 +6,12 @@ }: buildPythonPackage rec { - pname = "memcached-1.51"; + pname = "memcached"; version = "1.51"; src = if isPy3k then fetchPypi { - inherit pname version; + inherit version; + pname = "python3-${pname}"; sha256 = "0na8b369q8fivh3y0nvzbvhh3lgvxiyyv9xp93cnkvwfsr8mkgkw"; } else fetchurl { url = "http://ftp.tummy.com/pub/python-memcached/old-releases/python-${pname}-${version}.tar.gz";