python.pkgs.beautifulsoup: 4.5.3 -> 4.6.0
This commit is contained in:
parent
dc6d287dcf
commit
be7d6c4cfd
24
pkgs/development/python-modules/beautifulsoup4/default.nix
Normal file
24
pkgs/development/python-modules/beautifulsoup4/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user