1{
2 aiohttp,
3 beautifulsoup4,
4 buildPythonPackage,
5 fetchFromGitHub,
6 lib,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "ourgroceries";
12 version = "1.5.4";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "ljmerza";
17 repo = "py-our-groceries";
18 tag = version;
19 hash = "sha256-tlgctQvbR2YzM6Q1A/P1i40LSt4/2hsetlDeO07RBPE=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 aiohttp
26 beautifulsoup4
27 ];
28
29 pythonImportsCheck = [ "ourgroceries" ];
30
31 # tests require credentials
32 doCheck = false;
33
34 meta = {
35 changelog = "https://github.com/ljmerza/py-our-groceries/releases/tag/${src.tag}";
36 description = "Unofficial Python Wrapper for Our Groceries";
37 homepage = "https://github.com/ljmerza/py-our-groceries";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ dotlambda ];
40 };
41}