python.pkgs.beautifulsoup: 4.5.3 -> 4.6.0

This commit is contained in:
Jörg Thalheim 2017-08-27 15:27:33 +01:00 committed by Frederik Rietdijk
parent dc6d287dcf
commit be7d6c4cfd
2 changed files with 25 additions and 20 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi, nose }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "beautifulsoup4";
version = "4.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "12cf0ygpz9srpfh9gx2f9ba0swa1rzypv3sm4r0hmjyw6b4nm2w0";
};
buildInputs = [ nose ];
checkPhase = ''
nosetests build
'';
meta = with stdenv.lib; {
homepage = http://crummy.com/software/BeautifulSoup/bs4/;
description = "HTML and XML parser";
license = licenses.mit;
maintainers = with maintainers; [ domenkozar ];
};
}

View File

@ -1359,26 +1359,7 @@ in {
};
});
beautifulsoup4 = buildPythonPackage (rec {
name = "beautifulsoup4-4.5.3";
src = pkgs.fetchurl {
url = "mirror://pypi/b/beautifulsoup4/${name}.tar.gz";
sha256 = "0glaw1vyxnbp03fni7h5496n6iib0n5iim4gax1n0ngscs9s075j";
};
buildInputs = [ self.nose ];
checkPhase = ''
nosetests build/
'';
meta = {
homepage = http://crummy.com/software/BeautifulSoup/bs4/;
description = "HTML and XML parser";
license = licenses.mit;
maintainers = with maintainers; [ domenkozar ];
};
});
beautifulsoup4 = callPackage ../development/python-modules/beautifulsoup4 { };
beaker = buildPythonPackage rec {
name = "Beaker-${version}";