PyWebDAV: Fix src url

This commit is contained in:
Samuel Leathers 2017-09-14 13:26:22 -04:00 committed by Robert Helgesson
parent 25944370e1
commit 95f88c458b
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -1,18 +1,18 @@
{ lib, fetchurl, buildPythonPackage, isPy3k }:
{ stdenv, fetchPypi, buildPythonPackage, isPy3k }:
buildPythonPackage rec {
pname = "pywebdav";
name = "${pname}-${version}";
pname = "PyWebDAV";
version = "0.9.8";
name = "${pname}-${version}";
disabled = isPy3k;
src = fetchurl {
url = "mirror://pypi/p/pywebdav/${name}.tar.gz";
src = fetchPypi {
inherit pname version;
sha256 = "1v10vg79h85milnq8w7yd75qq5z6297ywkn9b2kxajldzwqxn3ji";
};
meta = {
meta = with stdenv.lib; {
homepage = http://code.google.com/p/pywebdav/;
description = "WebDAV library including a standalone server for python";
maintainers = with lib.maintainers; [ johbo ];
license = lib.licenses.gpl2Plus;
maintainers = with maintainers; [ johbo ];
license = licenses.gpl2Plus;
};
}