0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

typship: init at 0.4.2

This commit is contained in:
Thomas Heijligen 2025-05-14 19:36:16 +02:00
parent 759a78a548
commit 55bae14e5a

View file

@ -0,0 +1,41 @@
{
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 = "A 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 ];
};
})