1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, flask
5}:
6
7buildPythonPackage {
8 pname = "Flask-Silk";
9 version = "2018-06-28";
10
11 # master fixes flask import syntax and has no major changes
12 # new release requested: https://github.com/sublee/flask-silk/pull/6
13 src = fetchFromGitHub {
14 owner = "sublee";
15 repo = "flask-silk";
16 rev = "3a8166550f9a0ec52edae7bf31d9818c4c15c531";
17 sha256 = "0mplziqw52jfspas6vsm210lmxqqzgj0dxm8y0i3gpbyyykwcmh0";
18 };
19
20 propagatedBuildInputs = [
21 flask
22 ];
23
24 meta = with lib; {
25 description = "Adds silk icons to your Flask application or module, or extension";
26 license = licenses.bsd3;
27 maintainers = teams.sage.members;
28 homepage = "https://github.com/sublee/flask-silk";
29 };
30}