nix: rename custom -> packages

This commit is contained in:
Primrose 2024-09-22 13:57:30 +02:00
parent 754882bf0d
commit afc2eea47a
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
24 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,27 @@
{
rustPlatform,
fetchFromGitHub,
fetchpatch,
}:
rustPlatform.buildRustPackage {
pname = "typst-mutilate";
version = "0.0";
src = fetchFromGitHub {
owner = "frozolotl";
repo = "typst-mutilate";
rev = "9bf5ed1f8a2f91055a91077f0a8545ff1f229933";
hash = "sha256-r4fkFv1np8xhff3m8yev1rU1vfKRz8zQMIKIc+fOjew=";
};
cargoSha256 = "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=";
})
];
}