otadump: init at 0.1.2 (#329129)
[NixPkgs.git] / pkgs / by-name / ri / ringfairy / package.nix
blob3610062207dcf78b4c8360cf1631647682e741c3
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   pkg-config,
6   openssl,
7   stdenv,
8   darwin,
9 }:
10 rustPlatform.buildRustPackage {
11   pname = "ringfairy";
12   version = "0.1.2-unstable-2024-05-11";
14   src = fetchFromGitHub {
15     owner = "k3rs3d";
16     repo = "ringfairy";
17     rev = "966fe129c72a7ff09f55f22273c1c291780d40cd";
18     hash = "sha256-1soTvSjoBSIQBUK21COSmw8EKYcMUBjNs+FNs3jzy/E=";
19   };
21   cargoHash = "sha256-cmW+y57AAK1NNBJ6xE2EvHsSoKddLWgdtnAmSjzAN0k=";
23   nativeBuildInputs = [ pkg-config ];
25   buildInputs =
26     [ openssl ]
27     ++ lib.optionals stdenv.hostPlatform.isDarwin (
28       with darwin.apple_sdk.frameworks;
29       [
30         Security
31         SystemConfiguration
32       ]
33     );
35   meta = {
36     description = "Static webring generator in Rust";
37     homepage = "https://github.com/k3rs3d/ringfairy";
38     license = lib.licenses.gpl3Only;
39     maintainers = with lib.maintainers; [ uncenter ];
40     mainProgram = "ringfairy";
41   };