nur-packages

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

default.nix (825B)


      1 { lib, stdenv, rustPlatform, fetchFromGitea, pkg-config, gtk4, openssl, wrapGAppsHook, Security }:
      2 
      3 rustPlatform.buildRustPackage rec {
      4   pname = "eva";
      5   version = "0.4.1";
      6 
      7   src = fetchFromGitea {
      8     domain = "codeberg.org";
      9     owner = "jeang3nie";
     10     repo = "eva";
     11     rev = "v${version}";
     12     hash = "sha256-beCILpBqW8kHcLkW3q6LRRduDTMDwsqnXUEkZbX9hL4=";
     13   };
     14 
     15   cargoPatches = [ ./cargo-lock.patch ];
     16   cargoHash = "sha256-BFRowucvjYzCF7au4O/Q/lSpgaNUpNDx3OhnbwwfF24=";
     17 
     18   nativeBuildInputs = [ pkg-config wrapGAppsHook ];
     19 
     20   buildInputs = [ gtk4 openssl ] ++ lib.optional stdenv.isDarwin Security;
     21 
     22   meta = with lib; {
     23     description = "Gemini protocol browser written in Rust using the gtk+ toolkit";
     24     inherit (src.meta) homepage;
     25     license = licenses.gpl3;
     26     maintainers = [ maintainers.sikmir ];
     27   };
     28 }