forked from pub-solar/os
26 lines
533 B
Nix
26 lines
533 B
Nix
final: prev: with prev.python39Packages; {
|
|
python-wiki-fetch = buildPythonPackage rec {
|
|
pname = "wik";
|
|
version = "1.2.0";
|
|
|
|
src = prev.fetchFromGitHub {
|
|
owner = "yashsinghcodes";
|
|
repo = pname;
|
|
rev = "b226c5d80735f419db4d641f80d8a4c99bd826d8";
|
|
sha256 = "sha256-SW0G6sHggVPFZ1NHgMDmdOEjt06xdb5QfxL3fnhQiZs=";
|
|
};
|
|
|
|
checkPhase = ''
|
|
cd test
|
|
${python.interpreter} test.py
|
|
'';
|
|
|
|
format = "flit";
|
|
|
|
propagatedBuildInputs = [
|
|
beautifulsoup4
|
|
requests
|
|
];
|
|
};
|
|
}
|