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