2022-02-25 12:31:45 +00:00
|
|
|
final: prev: with prev.python39Packages; {
|
|
|
|
python-wiki-fetch = buildPythonPackage rec {
|
|
|
|
pname = "fetch";
|
|
|
|
version = "unstable-2022-02-25";
|
|
|
|
|
|
|
|
src = prev.fetchFromGitHub {
|
|
|
|
owner = "yashsinghcodes";
|
|
|
|
repo = "fetch";
|
2022-02-27 15:57:37 +00:00
|
|
|
rev = "b946b4d8c9bbe6d62fa8c95ad284e1fc9665caf2";
|
|
|
|
sha256 = "sha256-zs32iAEoRudO1dpRQpghmJM94+FF/N13H31Shqqp71Y=";
|
2022-02-25 12:31:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
cd test
|
|
|
|
${python.interpreter} test.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
beautifulsoup4
|
|
|
|
requests
|
|
|
|
wheel
|
|
|
|
];
|
|
|
|
|
|
|
|
patches = ./python-wiki-fetch.patch;
|
|
|
|
};
|
|
|
|
}
|