nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 aiohttp,
7 pyjwt,
8}:
9
10buildPythonPackage rec {
11 pname = "laundrify-aio";
12 version = "1.2.2";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "laundrify";
17 repo = "laundrify-pypi";
18 tag = "v${version}";
19 hash = "sha256-iFQ0396BkGWM7Ma/I0gbXucd2/yPmEVF4IC3/bMK2SA=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 aiohttp
26 pyjwt
27 ];
28
29 # Module has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "laundrify_aio" ];
33
34 meta = {
35 description = "Module to communicate with the laundrify API";
36 homepage = "https://github.com/laundrify/laundrify-pypi";
37 license = lib.licenses.asl20;
38 maintainers = with lib.maintainers; [ fab ];
39 };
40}