nur-packages

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

default.nix (859B)


      1 {
      2   lib,
      3   rustPlatform,
      4   fetchFromGitHub,
      5   pkg-config,
      6   sqlite,
      7 }:
      8 
      9 rustPlatform.buildRustPackage {
     10   pname = "mbutiles";
     11   version = "0.1.0-unstable-2024-04-12";
     12 
     13   src = fetchFromGitHub {
     14     owner = "amarant";
     15     repo = "mbutiles";
     16     rev = "1f59d2d5c8e9f97c632f791c92200759012a490b";
     17     hash = "sha256-w+fAfRHi/+TaQ4n9AjfBIbXeemCOnkFxR08ev1f+oTc=";
     18   };
     19 
     20   cargoHash = "sha256-Qf0qWolEGSnptiqGmgZZiXmY+XCvvmk0lJjnosy+8nI=";
     21 
     22   nativeBuildInputs = [ pkg-config ];
     23 
     24   buildInputs = [ sqlite ];
     25 
     26   meta = {
     27     description = "mbtiles utility in Rust, generate MBTiles from tiles directories and extract tiles from MBTiles file";
     28     homepage = "https://github.com/amarant/mbutiles";
     29     license = lib.licenses.bsd3;
     30     maintainers = [ lib.maintainers.sikmir ];
     31     broken = true; # error on crate `time` caused by an API change in Rust 1.80.0
     32   };
     33 }