1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 12:01:06 +01:00

+ various CLI goodies

This commit is contained in:
Kierán Meinhardt
2019-02-05 20:21:01 +01:00
parent c184e49d21
commit 4020f7018e
2 changed files with 32 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
let let
daybook = pkgs.callPackage ../packages/daybook.nix {}; daybook = pkgs.callPackage ../packages/daybook.nix {};
iolanguage = pkgs.callPackage ../packages/iolanguage.nix {}; iolanguage = pkgs.callPackage ../packages/iolanguage.nix {};
sncli = pkgs.python3Packages.callPackage ../packages/sncli.nix {};
todoist = pkgs.callPackage ../packages/todoist {}; todoist = pkgs.callPackage ../packages/todoist {};
haskells = import ../dot/haskells.nix; haskells = import ../dot/haskells.nix;
unstable = import <nixos-unstable> {}; unstable = import <nixos-unstable> {};
@@ -68,16 +69,18 @@ in with pkgs;
] ++ [ # shell ] ++ [ # shell
bat bat
dos2unix dos2unix
exa
fd fd
file file
git git
gitAndTools.hub gitAndTools.hub
gitstats gitstats
jq
manpages manpages
moreutils
patch patch
patchutils patchutils
posix_man_pages posix_man_pages
most
ranger ranger
ripgrep ripgrep
rlwrap rlwrap
@@ -119,6 +122,7 @@ in with pkgs;
chicken chicken
clojure clojure
gcc gcc
binutils-unwrapped
(haskellPackages.ghcWithHoogle haskells) (haskellPackages.ghcWithHoogle haskells)
(executables haskellPackages.cabal-install) (executables haskellPackages.cabal-install)
(executables haskellPackages.ghcid) (executables haskellPackages.ghcid)
@@ -150,7 +154,9 @@ in with pkgs;
audacity audacity
calibre calibre
inkscape inkscape
poppler_utils xpdf
pdfgrep
pdftk
spotify spotify
youtubeDL youtubeDL
] ++ [ # cloud ] ++ [ # cloud
@@ -170,11 +176,12 @@ in with pkgs;
daybook daybook
gnupg gnupg
jo jo
jq
memo memo
par par
pass pass
qrencode qrencode
sncli
tmuxp
unstable.hledger unstable.hledger
wordnet wordnet
xsv xsv

22
packages/sncli.nix Normal file
View File

@@ -0,0 +1,22 @@
{ buildPythonPackage, buildPythonApplication, fetchPypi, requests, urwid }:
let
Simperium3 = buildPythonPackage rec {
pname = "Simperium3";
version = "0.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "1j1w4dji39v44l96qq9kbrxpcjkjmika8065gwy8bf847f9fa76p";
};
propagatedBuildInputs = [ requests ];
};
in buildPythonApplication rec {
pname = "sncli";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "18s5a6s2z7k14cbiyfdf98kw92r2hf1xwaavx67dxhadxm18xr4v";
};
propagatedBuildInputs = [ requests urwid Simperium3 ];
}