Fabian Affolter 2023-06-20 21:27:09 +02:00
parent e5b51cb2ff
commit 856ec13017

View File

@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, flask
, karton-core
, mistune
@ -13,7 +12,7 @@
buildPythonPackage rec {
pname = "karton-dashboard";
version = "1.4.0";
version = "1.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -22,18 +21,9 @@ buildPythonPackage rec {
owner = "CERT-Polska";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-XMyQ0mRF4y61hqlqdxC+He+697P1URfOXQUMnV0pT7o=";
hash = "sha256-O7Wrl9+RWkHPO0+9aue1Nlv0263qX8Thnh5FmnoKjxU=";
};
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"