mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
42 lines
912 B
Nix
42 lines
912 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
openssl,
|
|
stdenv,
|
|
darwin,
|
|
}:
|
|
rustPlatform.buildRustPackage {
|
|
pname = "ringfairy";
|
|
version = "0.1.2-unstable-2024-05-11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "k3rs3d";
|
|
repo = "ringfairy";
|
|
rev = "966fe129c72a7ff09f55f22273c1c291780d40cd";
|
|
hash = "sha256-1soTvSjoBSIQBUK21COSmw8EKYcMUBjNs+FNs3jzy/E=";
|
|
};
|
|
|
|
cargoHash = "sha256-cmW+y57AAK1NNBJ6xE2EvHsSoKddLWgdtnAmSjzAN0k=";
|
|
|
|
nativeBuildInputs = [pkg-config];
|
|
|
|
buildInputs =
|
|
[openssl]
|
|
++ lib.optionals stdenv.isDarwin (
|
|
with darwin.apple_sdk.frameworks; [
|
|
Security
|
|
SystemConfiguration
|
|
]
|
|
);
|
|
|
|
meta = {
|
|
description = "Static webring generator in Rust";
|
|
homepage = "https://github.com/k3rs3d/ringfairy";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [uncenter];
|
|
mainProgram = "ringfairy";
|
|
};
|
|
}
|