oranda: init at 0.0.3
This commit is contained in:
parent
5d74e13d2c
commit
3c6da3c0d3
58
pkgs/applications/misc/oranda/default.nix
Normal file
58
pkgs/applications/misc/oranda/default.nix
Normal file
@ -0,0 +1,58 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, bzip2
|
||||
, oniguruma
|
||||
, openssl
|
||||
, xz
|
||||
, zstd
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "oranda";
|
||||
version = "0.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "axodotdev";
|
||||
repo = "oranda";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-MT0uwLDrofCFyyYiUOogF2kNs6EPS1qxPz0gdK+Tkkg=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-dAnZc1VvOubfn7mnpttaB6FotN3Xc+t9Qn0n5uzv1Qg=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
bzip2
|
||||
oniguruma
|
||||
openssl
|
||||
xz
|
||||
zstd
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
# requires internet access
|
||||
checkFlags = [
|
||||
"--skip=build"
|
||||
];
|
||||
|
||||
env = {
|
||||
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||
ZSTD_SYS_USE_PKG_CONFIG = true;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate beautiful landing pages for your developer tools";
|
||||
homepage = "https://github.com/axodotdev/oranda";
|
||||
changelog = "https://github.com/axodotdev/oranda/blob/${src.rev}/CHANGELOG.md";
|
||||
license = with licenses; [ asl20 mit ];
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
@ -32997,6 +32997,8 @@ with pkgs;
|
||||
|
||||
opera = callPackage ../applications/networking/browsers/opera { };
|
||||
|
||||
oranda = callPackage ../applications/misc/oranda { };
|
||||
|
||||
orca = python3Packages.callPackage ../applications/misc/orca {
|
||||
inherit pkg-config;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user