Something went wrong. Try again.
lol
Something went wrong. Try again.
846 B · 37 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738{ attrs, buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "grafanalib"; version = "0.7.1"; pyproject = true;
src = fetchFromGitHub { owner = "weaveworks"; repo = "grafanalib"; tag = "v${version}"; hash = "sha256-vXnyAfC9avKz8U4+MJVnu2zoPD0nR2qarWYidhEPW5s="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ attrs ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "grafanalib" ];
meta = { description = "Library for building Grafana dashboards"; homepage = "https://github.com/weaveworks/grafanalib/"; changelog = "https://github.com/weaveworks/grafanalib/releases/tag/v${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ michaelgrahamevans ]; };}