nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 899 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6 openssl, 7}: 8 9rustPlatform.buildRustPackage (finalAttrs: { 10 pname = "rustical"; 11 version = "0.12.1"; 12 13 src = fetchFromGitHub { 14 owner = "lennart-k"; 15 repo = "rustical"; 16 tag = "v${finalAttrs.version}"; 17 hash = "sha256-+JWpb0Hi8qyVjnwsxlYAlrqH3GhLqTFj2tbAWFIN+mg="; 18 }; 19 20 cargoHash = "sha256-TNIAdxOmAgZOGe3aBcKmeEzuGP8LuhGNDMNY/MUwiTw="; 21 22 nativeBuildInputs = [ pkg-config ]; 23 buildInputs = [ openssl ]; 24 25 env.OPENSSL_NO_VENDOR = true; 26 27 meta = { 28 description = "Yet another calendar server aiming to be simple, fast and passwordless"; 29 homepage = "https://github.com/lennart-k/rustical"; 30 changelog = "https://github.com/lennart-k/rustical/releases/tag/v${finalAttrs.version}"; 31 license = lib.licenses.agpl3Plus; 32 maintainers = with lib.maintainers; [ PopeRigby ]; 33 mainProgram = "rustical"; 34 }; 35})