nixpkgs/pkgs/by-name/ty/typship/package.nix
Philip Taron 22b88ba79d
treewide: adjust meta descriptions to avoid definite or indefinite articles
This patch was produced in Vim by me, a human being. All errors are the fault of the operator. I did try to be careful.

Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
Co-authored-by: dotlambda <nix@dotlambda.de>
2025-06-05 11:04:25 -07:00

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 ];
};
})