git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.flask-silk: 0.2 -> 2018-06-28

Fixes the build with current flask, which deprecated the old import syntax.

commit84d89a1ec600de59447ed2a914ce167f51c21089 authorTimo Kaufmann <timokau@zoho.com> dateThu 28 Jun 2018, 12:48 (8 years ago) parent7df80c4
1 file changed+9−5
pkgs/development/python-modules/flask-silk/default.nix+9−5
pkgs/development/python-modules/flask-silk/default.nix+9−5
@@ -1,16 +1,20 @@
11{ stdenv
22, buildPythonPackage
3−, fetchPypi
3+, fetchFromGitHub
44, flask
55}:
66
77buildPythonPackage rec {
88 pname = "Flask-Silk";
9− version = "0.2";
9+ version = "2018-06-28";
1010
11− src = fetchPypi {
12− inherit pname version;
13− sha256 = "1gjzighx4f0w39sq9xvzr1kwb4y7yv9qrgzvli1p89gy16piz8l0";
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";
1418 };
1519
1620 propagatedBuildInputs = [