mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 09:44:18 +00:00
python310Packages.recipe-scrapers: init at 14.14.0
This commit is contained in:
parent
d1710a21fc
commit
c9185dbf91
50
pkgs/development/python-modules/recipe-scrapers/default.nix
Normal file
50
pkgs/development/python-modules/recipe-scrapers/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, beautifulsoup4
|
||||
, extruct
|
||||
, language-tags
|
||||
, regex
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
, responses
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "recipe-scrapers";
|
||||
version = "14.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hhursev";
|
||||
repo = "recipe-scrapers";
|
||||
rev = version;
|
||||
sha256 = "sha256-3qrjNd1jX4JP3qG9YX8MQqwPh8cvfkZa1tEk0uCwego=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
beautifulsoup4
|
||||
extruct
|
||||
language-tags
|
||||
regex
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
responses
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# This is not actual code, just some pre-written boiler-plate template
|
||||
"templates/test_scraper.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "recipe_scrapers" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python package for scraping recipes data ";
|
||||
homepage = "https://github.com/hhursev/recipe-scrapers";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ambroisie ];
|
||||
};
|
||||
}
|
@ -9553,6 +9553,8 @@ in {
|
||||
|
||||
recaptcha_client = callPackage ../development/python-modules/recaptcha_client { };
|
||||
|
||||
recipe-scrapers = callPackage ../development/python-modules/recipe-scrapers { };
|
||||
|
||||
recoll = toPythonModule (pkgs.recoll.override {
|
||||
python3Packages = self;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user