nur-packages

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

default.nix (761B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   autoreconfHook,
      6   wxGTK,
      7 }:
      8 
      9 stdenv.mkDerivation (finalAttrs: {
     10   pname = "render_geojson";
     11   version = "0-unstable-2018-07-11";
     12 
     13   src = fetchFromGitHub {
     14     owner = "pedro-vicente";
     15     repo = "render_geojson";
     16     rev = "ed65a22f45fc09784fa113fe93254492d88663c2";
     17     hash = "sha256-X8l4eIt6K8B6w2whZFdnKHRUBM2jQQDVIrAFxO1Xbhg=";
     18   };
     19 
     20   nativeBuildInputs = [ autoreconfHook ];
     21 
     22   buildInputs = [ wxGTK ];
     23 
     24   meta = {
     25     description = "C++ geoJSON and topoJSON parser and rendering using the WxWidgets GUI library";
     26     inherit (finalAttrs.src.meta) homepage;
     27     license = lib.licenses.asl20;
     28     maintainers = [ lib.maintainers.sikmir ];
     29     platforms = lib.platforms.linux;
     30     skip.ci = stdenv.isDarwin;
     31   };
     32 })