1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00

Package todoist, add grive cron job, add asciidoctor

This commit is contained in:
Kierán Meinhardt
2019-01-13 16:10:29 +01:00
parent 2211d9ef3e
commit 4a8e41b772
5 changed files with 137 additions and 11 deletions

View File

@@ -60,7 +60,9 @@ in {
services.cron = {
enable = true;
systemCronJobs = [];
systemCronJobs = [
"0 * * * * ${pkgs.grive2}/bin/grive -p ${config.users.users.kfm.home}/cloud/gdrive"
];
};
programs.ssh = {

View File

@@ -2,6 +2,7 @@
let
scripts = import ../dot/scripts.nix { inherit pkgs lib; };
daybook = pkgs.callPackage ../packages/daybook.nix {};
todoist = pkgs.callPackage ../packages/todoist {};
unstable = import <nixos-unstable> {};
in with pkgs;
{
@@ -113,10 +114,13 @@ in with pkgs;
realscripts
pbox
stdclsdv
fdsymbol
moderncv
xstring;
})
pandoc
haskellPackages.pandoc-citeproc
asciidoctor
] ++ [ # programming
cloc
gnumake
@@ -160,6 +164,7 @@ in with pkgs;
maxima
] ++ [ # shell
daybook
# todoist
unstable.hledger
jo
jq

View File

@@ -22,5 +22,6 @@ stdenv.mkDerivation {
homepage = https://github.com/kmein/daybook;
description = "A diary writing utility in sh";
license = licenses.mit;
platforms = platforms.linux;
};
}

View File

@@ -1,13 +1,22 @@
{ stdenv, go, buildGoPackage, fetchFromGitHub }:
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
buildGoPackage rec {
name = "todoist-${version}";
version = "0.13.0";
src = fetchFromGitHub {
owner = "sachaos";
repo = "todoist";
rev = "4db9c55408d408ce8385ac6e845b83f320c45c28";
name = "todoist-unstable-${version}";
version = "2018-11-09";
rev = "4db9c55408d408ce8385ac6e845b83f320c45c28";
goPackagePath = "github.com/sachaos/todoist";
src = fetchgit {
inherit rev;
url = "https://github.com/sachaos/todoist";
sha256 = "1697mfq7ajr938ps387hj689k7s93274xlfyns1lr4gw1mfpxhzc";
};
goDeps = ./deps.nix;
goPackagePath = "github.com/sachaos/todoist";
# TODO: add metadata https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes
meta = {
};
}

View File

@@ -1,3 +1,4 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
[
{
goPackagePath = "github.com/fatih/color";
@@ -8,6 +9,51 @@
sha256 = "165ww24x6ba47ji4j14mp3f006ksnmi53ws9280pgd2zcw91nbn8";
};
}
{
goPackagePath = "github.com/fsnotify/fsnotify";
fetch = {
type = "git";
url = "https://github.com/fsnotify/fsnotify";
rev = "ccc981bf80385c528a65fbfdd49bf2d8da22aa23";
sha256 = "0hcrfmiyx27izac3v0ii0qq2kfjvhr9ma1i79hrl6a6y2ayagzz7";
};
}
{
goPackagePath = "github.com/hashicorp/hcl";
fetch = {
type = "git";
url = "https://github.com/hashicorp/hcl";
rev = "65a6292f0157eff210d03ed1bf6c59b190b8b906";
sha256 = "00qgmygfa4vgf9v3lpz4vp1ca1hcfcxnjqjrvp6z4jjklc8x4mqf";
};
}
{
goPackagePath = "github.com/magiconair/properties";
fetch = {
type = "git";
url = "https://github.com/magiconair/properties";
rev = "7c38529aac7222391b7a2661365177a97e21b998";
sha256 = "0g5jrpjnp16x2sw6ifg6dx24grcvsmfyxkrgnlp1cw06075k90dm";
};
}
{
goPackagePath = "github.com/mitchellh/mapstructure";
fetch = {
type = "git";
url = "https://github.com/mitchellh/mapstructure";
rev = "3536a929edddb9a5b34bd6861dc4a9647cb459fe";
sha256 = "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr";
};
}
{
goPackagePath = "github.com/pelletier/go-toml";
fetch = {
type = "git";
url = "https://github.com/pelletier/go-toml";
rev = "27c6b39a135b7dc87a14afb068809132fb7a9a8f";
sha256 = "13ldxh43xf4prmcrjzriz3gxpnijpqlzrgyhh7bnkj7lkhryfpk9";
};
}
{
goPackagePath = "github.com/pkg/browser";
fetch = {
@@ -18,14 +64,50 @@
};
}
{
goPackagePath = "github.com/satori/go.uuid";
goPackagePath = "github.com/satori/uuid";
fetch = {
type = "git";
url = "https://github.com/satori/go.uuid";
url = "https://github.com/satori/uuid";
rev = "b2ce2384e17bbe0c6d34077efa39dbab3e09123b";
sha256 = "1yz4cx02377ijlf8mnn84j1dcmlwh8ncx7y3kw1zg2qw0z4x119c";
};
}
{
goPackagePath = "github.com/spf13/afero";
fetch = {
type = "git";
url = "https://github.com/spf13/afero";
rev = "a5d6946387efe7d64d09dcba68cdd523dc1273a3";
sha256 = "0v1k07c2nn2nx7dhj9q03faq5hqjgc94v3xv3rhhld5b9i7ddjbd";
};
}
{
goPackagePath = "github.com/spf13/cast";
fetch = {
type = "git";
url = "https://github.com/spf13/cast";
rev = "8c9545af88b134710ab1cd196795e7f2388358d7";
sha256 = "0xq1ffqj8y8h7dcnm0m9lfrh0ga7pssnn2c1dnr09chqbpn4bdc5";
};
}
{
goPackagePath = "github.com/spf13/jwalterweatherman";
fetch = {
type = "git";
url = "https://github.com/spf13/jwalterweatherman";
rev = "94f6ae3ed3bceceafa716478c5fbf8d29ca601a1";
sha256 = "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b";
};
}
{
goPackagePath = "github.com/spf13/pflag";
fetch = {
type = "git";
url = "https://github.com/spf13/pflag";
rev = "24fa6976df40757dce6aea913e7b81ade90530e1";
sha256 = "0rf6prz6gl0l1b3wijzdgq887cdwigvzxvz6gqbm5l8pkq3fx1m9";
};
}
{
goPackagePath = "github.com/spf13/viper";
fetch = {
@@ -44,4 +126,31 @@
sha256 = "0n5vq4nydlhb7w12jiwphvxqdy4jwpxc3zwlxyhf05lq1nxfb56h";
};
}
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "7fbe1cd0fcc20051e1fcb87fbabec4a1bacaaeba";
sha256 = "0y49s4kazign9nsw2x3h39cgs14lqi57m4hrka26w49z8a1xdyc6";
};
}
{
goPackagePath = "golang.org/x/text";
fetch = {
type = "git";
url = "https://go.googlesource.com/text";
rev = "e6919f6577db79269a6443b9dc46d18f2238fb5d";
sha256 = "1p830sa7zqv4vzan3sn34qgfzc8466glv5ln2w6la96yw70wwky3";
};
}
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
rev = "51d6538a90f86fe93ac480b35f37b2be17fef232";
sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa";
};
}
]