nur-packages

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

default.nix (789B)


      1 {
      2   lib,
      3   stdenv,
      4   rustPlatform,
      5   fetchFromGitHub,
      6   pkg-config,
      7   openssl,
      8   darwin,
      9 }:
     10 
     11 rustPlatform.buildRustPackage rec {
     12   pname = "hecate";
     13   version = "0.87.0";
     14 
     15   src = fetchFromGitHub {
     16     owner = "Hecate";
     17     repo = "Hecate";
     18     rev = "v${version}";
     19     hash = "sha256-X+49Mnls5xK6ag1QcvEm0GvLPmvcRBwNn/1vnC9GJO8=";
     20   };
     21 
     22   cargoHash = "sha256-ROx90hWk9q5E/Yfy9luHbB1XyyLqw2KEl92niBNapBI=";
     23 
     24   nativeBuildInputs = [ pkg-config ];
     25 
     26   buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
     27 
     28   doCheck = false;
     29 
     30   meta = {
     31     description = "Fast Geospatial Feature Storage API";
     32     homepage = "https://github.com/Hecate/Hecate";
     33     license = lib.licenses.mit;
     34     maintainers = [ lib.maintainers.sikmir ];
     35     broken = true;
     36   };
     37 }