about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/osc-diagram/default.nix
blob: f2802ed08e76d00b6d386a6dae964d5f2acb7253 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  lib
  , buildPythonPackage
  , diagrams
  , fetchFromGitHub
  , osc-sdk-python
  , setuptools
}:

buildPythonPackage {
  pname = "osc-diagram";
  version = "unstable-2023-08-07";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "outscale-mgo";
    repo = "osc-diagram";
    rev = "8531233b8a95da03aca9106064b91479197f888d";
    hash = "sha256-2Iaar2twemw4xv1GGqHd3xiNCHrZLsZXtP7e9tNVpEU=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    diagrams
    osc-sdk-python
  ];

  pythonImportsCheck = [ "osc_diagram" ];

  meta = with lib; {
    description = "Build Outscale cloud diagrams";
    mainProgram = "osc-diagram";
    homepage = "https://github.com/outscale-mgo/osc-diagram";
    license = licenses.free;
    maintainers = with maintainers; [ nicolas-goudry ];
  };
}