mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
parent
3f3ca021b7
commit
82a276592c
34
pkgs/applications/misc/hmm/default.nix
Normal file
34
pkgs/applications/misc/hmm/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
, perl
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "hmm";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchCrate {
|
||||
pname = "hmmcli";
|
||||
inherit version;
|
||||
hash = "sha256-WPePzqZ2iGeJ7kzTj8eg7q1JEjw91WY7gViJJ46SLRY=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-9Z49aPfcIdMfYCFAXsxFxcfhaLjtPod+nMFHDmvgDY0=";
|
||||
|
||||
nativeCheckInputs = [
|
||||
perl
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A small command-line note-taking app";
|
||||
homepage = "https://github.com/samwho/hmm";
|
||||
changelog = "https://github.com/samwho/hmm/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
@ -31393,6 +31393,8 @@ with pkgs;
|
||||
hledger-web = haskell.lib.compose.justStaticExecutables haskellPackages.hledger-web;
|
||||
hledger-utils = with python3.pkgs; toPythonApplication hledger-utils;
|
||||
|
||||
hmm = callPackage ../applications/misc/hmm { };
|
||||
|
||||
homebank = callPackage ../applications/office/homebank {
|
||||
gtk = gtk3;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user