nur-packages

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

default.nix (650B)


      1 {
      2   lib,
      3   rustPlatform,
      4   fetchFromGitHub,
      5 }:
      6 
      7 rustPlatform.buildRustPackage rec {
      8   pname = "osmptparser";
      9   version = "2.1.0";
     10 
     11   src = fetchFromGitHub {
     12     owner = "cualbondi";
     13     repo = "osmptparser";
     14     rev = "v${version}";
     15     hash = "sha256-+u1UP+hFI8fi+NAzQ4pIObo+ZCBBaEoIkUNvHPO7jSQ=";
     16   };
     17 
     18   cargoHash = "sha256-Hl0K3E6mIbdl4h6Q9pZp71OVdgsuc2jKQWvDaNKM4FA=";
     19 
     20   doCheck = false;
     21 
     22   meta = {
     23     description = "Open Street Map Public Transport Parser";
     24     homepage = "https://github.com/cualbondi/osmptparser";
     25     license = lib.licenses.agpl3Plus;
     26     maintainers = [ lib.maintainers.sikmir ];
     27     mainProgram = "osmptparser";
     28   };
     29 }