File tree Expand file tree Collapse file tree
pkgs/applications/misc/mapproxy Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{ lib
22, pkgs
3- , python
3+ , python3
44} :
5- let
6- py = python . override {
7- packageOverrides = self : super : {
8- pyproj = super . pyproj . overridePythonAttrs ( oldAttrs : rec {
9- version = "1.9.6" ;
10- src = pkgs . fetchFromGitHub {
11- owner = "pyproj4" ;
12- repo = "pyproj" ;
13- rev = "v${ version } rel" ;
14- sha256 = "18v4h7jx4mcc0x2xy8y7dfjq9bzsyxs8hdb6v67cabvlz2njziqy" ;
15- } ;
16- nativeBuildInputs = with python . pkgs ; [ cython ] ;
17- patches = [ ] ;
18- checkPhase = ''
19- runHook preCheck
20- pushd unittest # changing directory should ensure we're importing the global pyproj
21- ${ python . interpreter } test.py && ${ python . interpreter } -c "import doctest, pyproj, sys; sys.exit(doctest.testmod(pyproj)[0])"
22- popd
23- runHook postCheck
24- '' ;
25- } ) ;
26- } ;
27- } ;
28- in
29- with py . pkgs ;
5+
6+ with python3 . pkgs ;
307buildPythonApplication rec {
318 pname = "MapProxy" ;
32- version = "1.12 .0" ;
9+ version = "1.13 .0" ;
3310 src = fetchPypi {
3411 inherit pname version ;
35- sha256 = "622e3a7796ef861ba21e42231b49c18d00d75f03eaf3f01a2b7687be7568e2ec " ;
12+ sha256 = "0qi63ap8yi5g2cas33jv4jsmdrl6yv3qp6bh0zxrfpkb704lcng4 " ;
3613 } ;
3714 prePatch = ''
3815 substituteInPlace mapproxy/util/ext/serving.py --replace "args = [sys.executable] + sys.argv" "args = sys.argv"
You can’t perform that action at this time.
0 commit comments