2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-15 22:47:59 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, html5lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mechanize";
|
2019-12-29 09:28:07 +00:00
|
|
|
version = "0.4.5";
|
2018-10-15 22:47:59 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-29 09:28:07 +00:00
|
|
|
sha256 = "6355c11141f6d4b54a17fc2106944806b5db2711e60b120d15d83db438c333fd";
|
2018-10-15 22:47:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ html5lib ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-15 22:47:59 +01:00
|
|
|
description = "Stateful programmatic web browsing in Python";
|
2019-09-28 10:20:00 +01:00
|
|
|
homepage = "https://github.com/python-mechanize/mechanize";
|
2018-10-15 22:47:59 +01:00
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|