Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
858 B
Nix
42 lines
858 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
pkg-config,
|
|
openssl,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "typship";
|
|
version = "0.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sjfhsjfh";
|
|
repo = "typship";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-LDiKAQmzEgzFJH2NAR3FYsO4SmH5uAEOa6I4A0FnwJk=";
|
|
};
|
|
|
|
cargoHash = "sha256-t4Vnww49CnkBSRsAWKxSpJffuUuqFAxqUN0GtoxnKLY=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
openssl
|
|
];
|
|
|
|
env = {
|
|
OPENSSL_NO_VENDOR = true; # From the typst package
|
|
};
|
|
|
|
meta = {
|
|
description = "Typst package CLI tool";
|
|
homepage = "https://github.com/sjfhsjfh/typship";
|
|
license = lib.licenses.mit;
|
|
changelog = "https://github.com/sjfhsjfh/typship/releases/tag/v${finalAttrs.version}";
|
|
maintainers = with lib.maintainers; [ heijligen ];
|
|
};
|
|
})
|