nur-packages

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

default.nix (732B)


      1 { lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, Security }:
      2 
      3 rustPlatform.buildRustPackage rec {
      4   pname = "hecate";
      5   version = "0.82.2";
      6 
      7   src = fetchFromGitHub {
      8     owner = "Mapbox";
      9     repo = "Hecate";
     10     rev = "v${version}";
     11     hash = "sha256-ffDBcrrg7iC8XkA1HO+qiRzZfNS6bF4mEXXqdM8w3uA=";
     12   };
     13 
     14   cargoHash = "sha256-OwKQiDRgYVSIIDnmjWyXSvFc3/L/dgcOjuXf/lE4N68=";
     15 
     16   nativeBuildInputs = [ pkg-config ];
     17 
     18   buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
     19 
     20   doCheck = false;
     21 
     22   meta = with lib; {
     23     description = "Fast Geospatial Feature Storage API";
     24     inherit (src.meta) homepage;
     25     license = licenses.mit;
     26     maintainers = [ maintainers.sikmir ];
     27     broken = true;
     28   };
     29 }