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
42
pkgs/development/python-modules/geopy/default.nix
Normal file
42
pkgs/development/python-modules/geopy/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, async_generator
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, geographiclib
|
||||
, isPy3k
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "geopy";
|
||||
version = "2.2.0";
|
||||
disabled = !isPy3k; # only Python 3
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-zFz0T/M/CABKkChuiKsFkWj2pphZuFeE5gz0HxZYaz8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ geographiclib ];
|
||||
|
||||
checkInputs = [
|
||||
async_generator
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Exclude tests which perform API calls
|
||||
pytestFlagsArray = [ "--ignore test/geocoders/" ];
|
||||
pythonImportsCheck = [ "geopy" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/geopy/geopy";
|
||||
description = "Python Geocoding Toolbox";
|
||||
changelog = "https://github.com/geopy/geopy/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ GuillaumeDesforges ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue