nur-packages

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

default.nix (680B)


      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     tag = "v${version}";
     15     hash = "sha256-+u1UP+hFI8fi+NAzQ4pIObo+ZCBBaEoIkUNvHPO7jSQ=";
     16   };
     17 
     18   useFetchCargoVendor = true;
     19   cargoHash = "sha256-Ds6fgL8aeRk/Pq6VmQupAZR8gN7Yl3c/LNCYigbE+CI=";
     20 
     21   doCheck = false;
     22 
     23   meta = {
     24     description = "Open Street Map Public Transport Parser";
     25     homepage = "https://github.com/cualbondi/osmptparser";
     26     license = lib.licenses.agpl3Plus;
     27     maintainers = [ lib.maintainers.sikmir ];
     28     mainProgram = "osmptparser";
     29   };
     30 }