pythonPackages.beautifulsoup: Move into pyload, no longer depended upon by any packages
This commit is contained in:
parent
12d8140a51
commit
bb50ae9807
20
pkgs/applications/networking/pyload/beautifulsoup.nix
Normal file
20
pkgs/applications/networking/pyload/beautifulsoup.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ pythonPackages, isPy3k, pkgs }:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
name = "beautifulsoup-3.2.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.2.1.tar.gz";
|
||||
sha256 = "1nshbcpdn0jpcj51x0spzjp519pkmqz0n0748j7dgpz70zlqbfpm";
|
||||
};
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = http://www.crummy.com/software/BeautifulSoup/;
|
||||
license = "bsd";
|
||||
description = "Undemanding HTML/XML parser";
|
||||
};
|
||||
}
|
|
@ -1,5 +1,12 @@
|
|||
{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages, gocr, unrar, rhino, spidermonkey }:
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages, gocr, unrar, rhino, spidermonkey
|
||||
, pkgs }:
|
||||
|
||||
let
|
||||
beautifulsoup = pythonPackages.callPackage ./beautifulsoup.nix {
|
||||
inherit pythonPackages;
|
||||
};
|
||||
|
||||
in pythonPackages.buildPythonApplication rec {
|
||||
version = "0.4.9-next";
|
||||
name = "pyLoad-" + version;
|
||||
|
||||
|
|
|
@ -1253,25 +1253,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
beautifulsoup = buildPythonPackage (rec {
|
||||
name = "beautifulsoup-3.2.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.2.1.tar.gz";
|
||||
sha256 = "1nshbcpdn0jpcj51x0spzjp519pkmqz0n0748j7dgpz70zlqbfpm";
|
||||
};
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = http://www.crummy.com/software/BeautifulSoup/;
|
||||
license = "bsd";
|
||||
description = "Undemanding HTML/XML parser";
|
||||
};
|
||||
});
|
||||
|
||||
beautifulsoup4 = callPackage ../development/python-modules/beautifulsoup4 { };
|
||||
|
||||
beaker = buildPythonPackage rec {
|
||||
|
|
Loading…
Reference in a new issue