commit 83136baea0596ac346dbeadca7e79bbbc4ebaad9
parent bd4a2e90e1e2edbb24bfaa4ef12dda674d564a03
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Wed, 15 Jan 2020 23:45:32 +0300
Move gpxpy to nixpkgs
Diffstat:
3 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/default.nix b/default.nix
@@ -43,15 +43,11 @@ in rec {
inherit (sources) gpx-layer;
};
gpxelevations = python3Packages.callPackage ./pkgs/gpxelevations {
- inherit gpxpy;
inherit (sources) gpxelevations;
};
gpxlab = libsForQt5.callPackage ./pkgs/gpxlab {
inherit (sources) gpxlab;
};
- gpxpy = python3Packages.callPackage ./pkgs/gpxpy {
- inherit (sources) gpxpy;
- };
gpxsee = libsForQt5.callPackage ./pkgs/gpxsee {
inherit (sources) gpxsee;
};
diff --git a/nix/sources.json b/nix/sources.json
@@ -119,18 +119,6 @@
"url": "https://github.com/BourgeoisLab/GPXLab/archive/44755cf7d12c4342d24ee6204a09ad8d3e7cd994.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
- "gpxpy": {
- "branch": "master",
- "description": "gpx-py is a python GPX parser. GPX (GPS eXchange Format) is an XML based file format for GPS tracks.",
- "homepage": "https://github.com/tkrajina/gpxpy",
- "owner": "tkrajina",
- "repo": "gpxpy",
- "rev": "5e81b930c81cb88f3534e6f48d970c367de302b7",
- "sha256": "0ps468n0xhk69c7c8j612xmhml7pysv2d78241vkdyy3gr771576",
- "type": "tarball",
- "url": "https://github.com/tkrajina/gpxpy/archive/5e81b930c81cb88f3534e6f48d970c367de302b7.tar.gz",
- "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
- },
"gpxsee": {
"branch": "master",
"description": "GPS log file viewer and analyzer with support for GPX, TCX, KML, FIT, IGC, NMEA, SLF, LOC, GeoJSON and OziExplorer files.",
diff --git a/pkgs/gpxpy/default.nix b/pkgs/gpxpy/default.nix
@@ -1,21 +0,0 @@
-{ lib, buildPythonApplication, python, lxml, gpxpy }:
-
-buildPythonApplication rec {
- pname = "gpxpy";
- version = lib.substring 0 7 src.rev;
- src = gpxpy;
-
- propagatedBuildInputs = [ lxml ];
-
- checkPhase = ''
- ${python.interpreter} -m unittest test
- '';
-
- meta = with lib; {
- description = gpxpy.description;
- homepage = gpxpy.homepage;
- license = licenses.asl20;
- maintainers = with maintainers; [ sikmir ];
- platforms = platforms.unix;
- };
-}