nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 async-timeout,
5 buildPythonPackage,
6 fetchFromGitHub,
7}:
8
9buildPythonPackage rec {
10 pname = "open-garage";
11 version = "0.2.0";
12 format = "setuptools";
13
14 src = fetchFromGitHub {
15 owner = "Danielhiversen";
16 repo = "pyOpenGarage";
17 rev = version;
18 hash = "sha256-iJ7HcJhpTceFpHTUdNZOYDuxUWZGWPmZ9lxD3CyGvk8=";
19 };
20
21 propagatedBuildInputs = [
22 aiohttp
23 async-timeout
24 ];
25
26 # Project has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [ "opengarage" ];
30
31 meta = {
32 description = "Python module to communicate with opengarage.io";
33 homepage = "https://github.com/Danielhiversen/pyOpenGarage";
34 license = with lib.licenses; [ mit ];
35 maintainers = with lib.maintainers; [ fab ];
36 };
37}