mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Trying smartcalc instead of octave
This commit is contained in:
parent
82795ffb89
commit
c13de110dc
27
user/pkgs/smartcalc.nix
Normal file
27
user/pkgs/smartcalc.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
|
let
|
||||||
|
rustPlatform = pkgs.makeRustPlatform {
|
||||||
|
cargo = pkgs.rust-bin.stable.latest.minimal;
|
||||||
|
rustc = pkgs.rust-bin.stable.latest.minimal;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "smartcalc-tui";
|
||||||
|
version = "1.0.7";
|
||||||
|
|
||||||
|
src = fetchTarball {
|
||||||
|
url = "https://github.com/superhawk610/smartcalc-tui/archive/refs/tags/v1.0.7.tar.gz";
|
||||||
|
sha256 = "1dv24rsj87avpbrmab0hy3v729fdqh1cfbvl1xsjmfn8y35z4m5m";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-0AWsJccfzkUkpB6imibN6iUNDEx3vrX9kEgD98nXURw=";
|
||||||
|
|
||||||
|
checkType = "debug";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Terminal UI for erhanbaris/smartcalc";
|
||||||
|
homepage = "https://github.com/superhawk610/smartcalc-tui";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [];
|
||||||
|
};
|
||||||
|
}
|
|
@ -16,12 +16,13 @@
|
||||||
htop
|
htop
|
||||||
hwinfo
|
hwinfo
|
||||||
unzip
|
unzip
|
||||||
octave
|
|
||||||
brightnessctl
|
brightnessctl
|
||||||
w3m
|
w3m
|
||||||
fzf
|
fzf
|
||||||
pandoc
|
pandoc
|
||||||
pciutils
|
pciutils
|
||||||
|
(pkgs.callPackage ../pkgs/smartcalc.nix { })
|
||||||
|
(pkgs.writeShellScriptBin "sc" ''smartcalc'')
|
||||||
#(pkgs.callPackage ../pkgs/ytsub.nix { })
|
#(pkgs.callPackage ../pkgs/ytsub.nix { })
|
||||||
#(pkgs.callPackage ../pkgs/russ.nix { })
|
#(pkgs.callPackage ../pkgs/russ.nix { })
|
||||||
#(pkgs.python3Packages.callPackage ../pkgs/impressive.nix { })
|
#(pkgs.python3Packages.callPackage ../pkgs/impressive.nix { })
|
||||||
|
|
Loading…
Reference in a new issue