Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 66 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, flask, karton-core, mistune, networkx, prometheus-client, pythonOlder, pythonRelaxDepsHook}:
buildPythonPackage rec { pname = "karton-dashboard"; version = "1.4.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "CERT-Polska"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-XMyQ0mRF4y61hqlqdxC+He+697P1URfOXQUMnV0pT7o="; };
patches = [ # Allow later mistune, https://github.com/CERT-Polska/karton-dashboard/pull/68 (fetchpatch { name = "update-mistune.patch"; url = "https://github.com/CERT-Polska/karton-dashboard/commit/d0a2a1ffd21e9066acca77434acaff7b20e460d0.patch"; hash = "sha256-LOqeLWoCXmVTthruBiQUYR03yPOPHhgYF/fJMhhT6Wo="; }) ];
pythonRelaxDeps = [ "Flask" "mistune" "networkx" "prometheus-client" ];
nativeBuildInputs = [ pythonRelaxDepsHook ];
propagatedBuildInputs = [ flask karton-core mistune networkx prometheus-client ];
# Project has no tests. pythonImportsCheck requires MinIO configuration doCheck = false;
meta = with lib; { description = "Web application that allows for Karton task and queue introspection"; homepage = "https://github.com/CERT-Polska/karton-dashboard"; changelog = "https://github.com/CERT-Polska/karton-dashboard/releases/tag/v${version}"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ fab ]; };}