Files
nixpkgs/pkgs/development/python-modules/osc-diagram/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

39 lines
811 B
Nix

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