mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
typst-mutilate: migrate to by-name
This commit is contained in:
parent
d9ec2e805c
commit
e238e5f49b
2 changed files with 0 additions and 2 deletions
26
nix/packages/by-name/typst-mutilate/package.nix
Normal file
26
nix/packages/by-name/typst-mutilate/package.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
}:
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "typst-mutilate";
|
||||
version = "0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "frozolotl";
|
||||
repo = "typst-mutilate";
|
||||
rev = "9bf5ed1f8a2f91055a91077f0a8545ff1f229933";
|
||||
hash = "sha256-r4fkFv1np8xhff3m8yev1rU1vfKRz8zQMIKIc+fOjew=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-QEOXPf/k+fCMNQxKGsW3FDsgH5XXUKob0XOef3DiB0s=";
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "raw-block-fix";
|
||||
url = "https://github.com/frozolotl/typst-mutilate/pull/2/commits/223bc31abb2d5fef4e743a1582bb126a2ef47a45.patch";
|
||||
hash = "sha256-+6DMQo4cjVASgkX4gcYrEkwQ/uxttV/61fDnXBqbNcg=";
|
||||
})
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue