uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
41
pkgs/applications/misc/mapproxy/default.nix
Normal file
41
pkgs/applications/misc/mapproxy/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, pkgs
|
||||
, python3
|
||||
}:
|
||||
|
||||
with python3.pkgs;
|
||||
buildPythonApplication rec {
|
||||
pname = "MapProxy";
|
||||
version = "1.14.0";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "dd36278d60cdcaaf31f7f9bbc50e90e770f3feb65cf4b3eff287215ee85f018d";
|
||||
};
|
||||
prePatch = ''
|
||||
substituteInPlace mapproxy/util/ext/serving.py --replace "args = [sys.executable] + sys.argv" "args = sys.argv"
|
||||
'';
|
||||
propagatedBuildInputs = [
|
||||
boto3 # needed for caches service
|
||||
pillow
|
||||
pyyaml
|
||||
pyproj
|
||||
shapely
|
||||
gdal
|
||||
lxml
|
||||
setuptools
|
||||
];
|
||||
# Tests are disabled:
|
||||
# 1) Dependency list is huge.
|
||||
# https://github.com/mapproxy/mapproxy/blob/master/requirements-tests.txt
|
||||
#
|
||||
# 2) There are security issues with package Riak
|
||||
# https://github.com/NixOS/nixpkgs/issues/33876
|
||||
# https://github.com/NixOS/nixpkgs/pull/56480
|
||||
doCheck = false;
|
||||
meta = with lib; {
|
||||
description = "Open source proxy for geospatial data";
|
||||
homepage = "https://mapproxy.org/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ rakesh4g ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue