nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit cfeda2ecd8c2922f10d3c952dadc0bf4eb019f99
parent bc61cd50ae7bf3ae6bd231652c314da83b9fb0c6
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Sun, 12 Apr 2020 04:44:40 +0300

Add qtpbfimageplugin-styles

Diffstat:
Mnix/sources.json | 13+++++++++++++
Apkgs/data/themes/qtpbfimageplugin-styles/default.nix | 21+++++++++++++++++++++
Mpkgs/default.nix | 1+
3 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/nix/sources.json b/nix/sources.json @@ -1,4 +1,17 @@ { + "qtpbfimageplugin-styles": { + "branch": "master", + "builtin": false, + "description": "QtPBFImagePlugin styles", + "homepage": "https://github.com/tumic0/QtPBFImagePlugin-styles", + "owner": "tumic0", + "repo": "QtPBFImagePlugin-styles", + "rev": "577bb119641c80e1736815ed70a0b99c942c63e0", + "sha256": "1vj1db35prm4npww6vzjkjd12aqvyvkhwg35fg4m4mbfz0d289qx", + "type": "tarball", + "url": "https://github.com/tumic0/QtPBFImagePlugin-styles/archive/577bb119641c80e1736815ed70a0b99c942c63e0.tar.gz", + "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" + }, "cfiles": { "branch": "master", "builtin": false, diff --git a/pkgs/data/themes/qtpbfimageplugin-styles/default.nix b/pkgs/data/themes/qtpbfimageplugin-styles/default.nix @@ -0,0 +1,21 @@ +{ stdenv, sources }: + +stdenv.mkDerivation rec { + pname = "qtpbfimageplugin-styles"; + version = stdenv.lib.substring 0 7 src.rev; + src = sources.qtpbfimageplugin-styles; + + dontBuild = true; + + installPhase = '' + install -dm755 "$out/share/gpxsee/style" + cp -r Mapbox OpenMapTiles Tilezen "$out/share/gpxsee/style" + ''; + + meta = with stdenv.lib; { + inherit (src) description homepage; + license = licenses.free; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -81,6 +81,7 @@ lib.makeScope newScope ( qmapshack-onlinemaps = callPackage ./data/maps/qmapshack-onlinemaps {}; qmapshack-routinodb = callPackage ./data/maps/qmapshack-routinodb {}; qmapshack-dem = callPackage ./data/maps/qmapshack-dem {}; + qtpbfimageplugin-styles = callPackage ./data/themes/qtpbfimageplugin-styles {}; redict = libsForQt5.callPackage ./applications/redict { inherit sources; };