mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
typship: init at 0.4.2
This commit is contained in:
parent
759a78a548
commit
55bae14e5a
1 changed files with 41 additions and 0 deletions
41
pkgs/by-name/ty/typship/package.nix
Normal file
41
pkgs/by-name/ty/typship/package.nix
Normal 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 ];
|
||||
};
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue