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

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

commit7df80c4e021b7f7b743fe2b6d0c609b9e7dd47c5 authorTimo Kaufmann <timokau@zoho.com> dateThu 28 Jun 2018, 12:48 (8 years ago) parent224f73b
1 file changed+10−15
pkgs/development/python-modules/flask-autoindex/default.nix+10−15
pkgs/development/python-modules/flask-autoindex/default.nix+10−15
@@ -1,7 +1,6 @@
11{ stdenv
22, buildPythonPackage
3−, fetchpatch
4−, fetchPypi
3+, fetchFromGitHub
54, flask
65, flask-silk
76, future
@@ -9,11 +8,16 @@
98
109buildPythonPackage rec {
1110 pname = "Flask-AutoIndex";
12− version = "0.6";
11+ version = "2018-06-28";
1312
14− src = fetchPypi {
15− inherit pname version;
16− sha256 = "19b10mb1nrqfjyafki6wnrbn8mqi30bbyyiyvp5xssc74pciyfqs";
13+ # master fixes various issues (binary generation, flask syntax) and has no
14+ # major changes
15+ # new release requested: https://github.com/sublee/flask-autoindex/issues/38
16+ src = fetchFromGitHub {
17+ owner = "sublee";
18+ repo = "flask-autoindex";
19+ rev = "e3d449a89d56bf4c171c7c8d90af028e579782cf";
20+ sha256 = "0bwq2nid4h8vrxspggk064vra4wd804cl2ryyx4j2d1dyywmgjgy";
1721 };
1822
1923 propagatedBuildInputs = [
@@ -22,15 +26,6 @@ buildPythonPackage rec {
2226 future
2327 ];
2428
25− patches = [
26− # fix generated binary, see https://github.com/sublee/flask-autoindex/pull/32
27− (fetchpatch {
28− name = "fix_binary.patch";
29− url = "https://github.com/sublee/flask-autoindex/pull/32.patch";
30− sha256 = "1v2r0wvi7prhipjq89774svv6aqj0a13mdfj07pdlkpzfbf029dn";
31− })
32− ];
33−
3429 meta = with stdenv.lib; {
3530 description = "The mod_autoindex for Flask";
3631 longDescription = ''