pub-solar-os/overlays/python-wik.nix

26 lines
533 B
Nix
Raw Normal View History

2022-02-25 12:31:45 +00:00
final: prev: with prev.python39Packages; {
python-wiki-fetch = buildPythonPackage rec {
pname = "wik";
version = "1.2.0";
2022-02-25 12:31:45 +00:00
src = prev.fetchFromGitHub {
owner = "yashsinghcodes";
repo = pname;
rev = "b226c5d80735f419db4d641f80d8a4c99bd826d8";
sha256 = "sha256-SW0G6sHggVPFZ1NHgMDmdOEjt06xdb5QfxL3fnhQiZs=";
2022-02-25 12:31:45 +00:00
};
checkPhase = ''
cd test
${python.interpreter} test.py
'';
format = "flit";
2022-02-25 12:31:45 +00:00
propagatedBuildInputs = [
beautifulsoup4
requests
];
};
}