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
37 lines
884 B
Nix
37 lines
884 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchCrate,
|
|
perl,
|
|
writableTmpDirAsHomeHook,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "hmm";
|
|
version = "0.6.0";
|
|
|
|
src = fetchCrate {
|
|
pname = "hmmcli";
|
|
inherit version;
|
|
hash = "sha256-WPePzqZ2iGeJ7kzTj8eg7q1JEjw91WY7gViJJ46SLRY=";
|
|
};
|
|
|
|
cargoHash = "sha256-wyuV+jWY7w4VDn314yRkqmeqgRijPb+XgmUiy73U3Zc=";
|
|
|
|
nativeCheckInputs = [
|
|
perl
|
|
writableTmpDirAsHomeHook
|
|
];
|
|
# FIXME: remove patch when upstream version of rustc-serialize is updated
|
|
# https://github.com/NixOS/nixpkgs/pull/310673
|
|
cargoPatches = [ ./rustc-serialize-fix.patch ];
|
|
|
|
meta = {
|
|
description = "Small command-line note-taking app";
|
|
homepage = "https://github.com/samwho/hmm";
|
|
changelog = "https://github.com/samwho/hmm/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ figsoda ];
|
|
};
|
|
}
|