mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-18 18:57:32 -08:00
add cookcli
This commit is contained in:
parent
f2c5b7de19
commit
bc3054777f
@ -14,6 +14,7 @@ in {
|
|||||||
chezmoi
|
chezmoi
|
||||||
nix-init
|
nix-init
|
||||||
btop
|
btop
|
||||||
|
cookcli
|
||||||
|
|
||||||
rbw
|
rbw
|
||||||
# for rbw
|
# for rbw
|
||||||
|
@ -5,4 +5,5 @@ final: prev: {
|
|||||||
sway-scratchpad = final.callPackage ../pkgs/sway-scratchpad.nix {};
|
sway-scratchpad = final.callPackage ../pkgs/sway-scratchpad.nix {};
|
||||||
advcpmv = final.callPackage ../pkgs/advcpmv.nix {};
|
advcpmv = final.callPackage ../pkgs/advcpmv.nix {};
|
||||||
taskopen = final.callPackage ../pkgs/taskopen.nix {};
|
taskopen = final.callPackage ../pkgs/taskopen.nix {};
|
||||||
|
cookcli = final.callPackage ../pkgs/cookcli.nix {};
|
||||||
}
|
}
|
||||||
|
42
provision/pkgs/cookcli.nix
Normal file
42
provision/pkgs/cookcli.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, openssl
|
||||||
|
, stdenv
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "cookcli";
|
||||||
|
version = "0.8.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "cooklang";
|
||||||
|
repo = "cookcli";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-43++90St6XxUn7fhCooH+YEZhA2eTJcPVASaDMOZ8EU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-2Pr6td6TpXcUna2GmLHMDKxLFsWN3LM72/PvFyFOHw0=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
];
|
||||||
|
|
||||||
|
env = {
|
||||||
|
OPENSSL_NO_VENDOR = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Command line program which provides a suite of tools to create shopping lists and maintain recipes";
|
||||||
|
homepage = "https://github.com/cooklang/cookcli.git";
|
||||||
|
changelog = "https://github.com/cooklang/cookcli/blob/${src.rev}/CHANGELOG.md";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
|
mainProgram = "cookcli";
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user