2018-10-15 22:47:59 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, html5lib
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mechanize";
|
2019-01-28 16:49:21 +00:00
|
|
|
version = "0.4.0";
|
2018-10-15 22:47:59 +01:00
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-28 16:49:21 +00:00
|
|
|
sha256 = "15g58z3hy1pgi5sygpif28jyqj79iz4vw2mh5nxdydl4w20micvf";
|
2018-10-15 22:47:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ html5lib ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Stateful programmatic web browsing in Python";
|
|
|
|
homepage = http://wwwsearch.sourceforge.net/;
|
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|