2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-04-11 16:50:35 +00:00
|
|
|
, buildPythonPackage
|
2018-06-28 10:48:48 +00:00
|
|
|
, fetchFromGitHub
|
2018-04-11 16:50:35 +00:00
|
|
|
, flask
|
|
|
|
}:
|
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
buildPythonPackage {
|
2018-04-11 16:50:35 +00:00
|
|
|
pname = "Flask-Silk";
|
2018-06-28 10:48:48 +00:00
|
|
|
version = "2018-06-28";
|
2018-04-11 16:50:35 +00:00
|
|
|
|
2018-06-28 10:48:48 +00:00
|
|
|
# master fixes flask import syntax and has no major changes
|
|
|
|
# new release requested: https://github.com/sublee/flask-silk/pull/6
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sublee";
|
|
|
|
repo = "flask-silk";
|
|
|
|
rev = "3a8166550f9a0ec52edae7bf31d9818c4c15c531";
|
|
|
|
sha256 = "0mplziqw52jfspas6vsm210lmxqqzgj0dxm8y0i3gpbyyykwcmh0";
|
2018-04-11 16:50:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
flask
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-04-11 16:50:35 +00:00
|
|
|
description = "Adds silk icons to your Flask application or module, or extension";
|
|
|
|
license = licenses.bsd3;
|
2020-11-17 19:41:33 +00:00
|
|
|
maintainers = teams.sage.members;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/sublee/flask-silk";
|
2018-04-11 16:50:35 +00:00
|
|
|
};
|
|
|
|
}
|