Merge master into staging-next
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, pythonOlder
|
||||
, six, typing, pygments
|
||||
, django, shortuuid, python-dateutil, pytest
|
||||
, pytest-django, pytestcov, mock, vobject
|
||||
@@ -16,6 +16,15 @@ buildPythonPackage rec {
|
||||
sha256 = "0053yqq4vq3mwy7zkfs5vfm3g8j9sfy3vrc6xby83qlj9wz43ipi";
|
||||
};
|
||||
|
||||
# This patch fixes a single failing test and can be removed when updating this pkg
|
||||
# to the next version
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/django-extensions/django-extensions/commit/1d21786da2e6868d98ae34c82079e1e03ad1aa97.patch";
|
||||
sha256 = "0d81zpj0f8a7ijrfb12j0b67fgj89k3axaskz1nwqsr4wc6n4bw2";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "'tox'," ""
|
||||
|
||||
|
||||
27
pkgs/development/python-modules/gpxpy/default.nix
Normal file
27
pkgs/development/python-modules/gpxpy/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ lib, fetchFromGitHub, buildPythonPackage, python, lxml }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gpxpy";
|
||||
version = "1.3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tkrajina";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "18r7pfda7g3l0hv8j9565n52cvvgjxiiqqzagfdfaba1djgl6p8b";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ lxml ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python GPX (GPS eXchange format) parser";
|
||||
homepage = "https://github.com/tkrajina/gpxpy";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, olm,
|
||||
cffi, future, typing }:
|
||||
cffi, future, isPy3k, typing }:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "python-olm";
|
||||
@@ -15,8 +15,7 @@ buildPythonPackage {
|
||||
propagatedBuildInputs = [
|
||||
cffi
|
||||
future
|
||||
typing
|
||||
];
|
||||
] ++ lib.optionals (!isPy3k) [ typing ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "srsly";
|
||||
version = "0.2.0";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0gha1xfh64mapvgn0sghnjsvmjdrh5rywhs3j3bhkvwk42kf40ma";
|
||||
sha256 = "0d49a90gsfyxwp8g14mvvw1kjm77qgx86zg4812kcmlz9ycb80hi";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = lib.optional (pythonOlder "3.4") pathlib;
|
||||
|
||||
Reference in New Issue
Block a user