Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
1.0 KiB
Nix
35 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "genemichaels";
|
|
version = "0.5.13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "andrewbaxter";
|
|
repo = "genemichaels";
|
|
rev = "genemichaels-v${version}";
|
|
hash = "sha256-pzGTKswETm7RR0up1eSWC+X633rsVmEAJ3DYM8z6paQ=";
|
|
};
|
|
|
|
cargoHash = "sha256-J7uibeoIKLC3jo5TstzC8udK+miAA52321eapOHVzbM=";
|
|
|
|
cargoBuildFlags = [ "--package ${pname}" ];
|
|
# cargoTestFlags is not used because genemichaels is tightly coupled to the
|
|
# other crates in the workspace and by not setting it, we run all the tests.
|
|
# If a dependency crate is failing its tests, we want to know about it. For
|
|
# example, between versions 0.5.8 and 0.5.12, there was a failing test in one
|
|
# of the other workspace members that genemichaels depends on.
|
|
|
|
meta = {
|
|
description = "Even formats macros";
|
|
homepage = "https://github.com/andrewbaxter/genemichaels";
|
|
license = lib.licenses.isc;
|
|
maintainers = with lib.maintainers; [ djacu ];
|
|
mainProgram = "genemichaels";
|
|
};
|
|
}
|