nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 oauthlib,
6 requests,
7 requests-oauthlib,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "ondilo";
13 version = "0.5.0";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "JeromeHXP";
18 repo = "ondilo";
19 tag = version;
20 hash = "sha256-l9pmamJbB/FAqB49S4vQAan9Wgj3qu1J2pboQO1Hg/Q=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 oauthlib
27 requests
28 requests-oauthlib
29 ];
30
31 # Project has no tests
32 doCheck = false;
33
34 pythonImportsCheck = [ "ondilo" ];
35
36 meta = {
37 description = "Python package to access Ondilo ICO APIs";
38 homepage = "https://github.com/JeromeHXP/ondilo";
39 changelog = "https://github.com/JeromeHXP/ondilo/releases/tag/${version}";
40 license = with lib.licenses; [ mit ];
41 maintainers = with lib.maintainers; [ fab ];
42 };
43}