nur-packages

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

commit 500c5be7b2d536f8678bc9c782136fc3018d7dbb
parent efb28a36a9b4278d8d8efc382ff9fb94d711b61d
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sat, 15 Jan 2022 11:12:06 +0300

Move mepo to nixpkgs

Diffstat:
Mpkgs/default.nix | 3---
Dpkgs/osm/mepo/default.nix | 43-------------------------------------------
2 files changed, 0 insertions(+), 46 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -316,9 +316,6 @@ lib.makeScope newScope ( map-machine = callPackage ./osm/map-machine { }; map-stylizer = callPackage ./osm/map-stylizer { }; maperitive-bin = callPackage ./osm/maperitive/bin.nix { }; - mepo = callPackage ./osm/mepo { - zig = pkgs.zig_0_8_1; - }; osm-area-tools = callPackage ./osm/osm-area-tools { }; osm-python-tools = callPackage ./osm/osm-python-tools { }; osmcoastline = callPackage ./osm/osmcoastline { }; diff --git a/pkgs/osm/mepo/default.nix b/pkgs/osm/mepo/default.nix @@ -1,43 +0,0 @@ -{ lib, stdenv, fetchFromSourcehut, pkg-config, zig -, curl, SDL2, SDL2_image, SDL2_ttf -}: - -stdenv.mkDerivation rec { - pname = "mepo"; - version = "0.2"; - - src = fetchFromSourcehut { - owner = "~mil"; - repo = pname; - rev = version; - hash = "sha256-ECq748GpjOjvchzAWlGA7H7HBvKNxY9d43+PTOWopiM="; - }; - - nativeBuildInputs = [ pkg-config zig ]; - - buildInputs = [ curl SDL2 SDL2_image SDL2_ttf ]; - - buildPhase = '' - export HOME=$TMPDIR - zig build -Drelease-safe=true - ''; - - doCheck = true; - checkPhase = '' - zig build test - ''; - - installPhase = '' - install -Dm755 zig-out/bin/mepo -t $out/bin - install -Dm755 scripts/mepo_* $out/bin - ''; - - meta = with lib; { - description = "Fast, simple, and hackable OSM map viewer"; - inherit (src.meta) homepage; - license = licenses.gpl3Plus; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.unix; - broken = stdenv.isDarwin; # https://github.com/NixOS/nixpkgs/issues/86299 - }; -}