pythonPackages.flask-silk: 0.2 -> 2018-06-28

Fixes the build with current flask, which deprecated the old import
syntax.
This commit is contained in:
Timo Kaufmann 2018-06-28 12:48:48 +02:00
parent 7df80c4e02
commit 84d89a1ec6

View File

@ -1,16 +1,20 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchFromGitHub
, flask , flask
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "Flask-Silk"; pname = "Flask-Silk";
version = "0.2"; version = "2018-06-28";
src = fetchPypi { # master fixes flask import syntax and has no major changes
inherit pname version; # new release requested: https://github.com/sublee/flask-silk/pull/6
sha256 = "1gjzighx4f0w39sq9xvzr1kwb4y7yv9qrgzvli1p89gy16piz8l0"; src = fetchFromGitHub {
owner = "sublee";
repo = "flask-silk";
rev = "3a8166550f9a0ec52edae7bf31d9818c4c15c531";
sha256 = "0mplziqw52jfspas6vsm210lmxqqzgj0dxm8y0i3gpbyyykwcmh0";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [