2018-10-15 22:47:59 +01:00
|
|
|
{ stdenv
|
|
|
|
, 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;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|