mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
84d89a1ec6
Fixes the build with current flask, which deprecated the old import syntax.
31 lines
768 B
Nix
31 lines
768 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, flask
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Flask-Silk";
|
|
version = "2018-06-28";
|
|
|
|
# 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";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
flask
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Adds silk icons to your Flask application or module, or extension";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ timokau ];
|
|
homepage = https://github.com/sublee/flask-silk;
|
|
};
|
|
}
|