diff options
author | Ben Sima <ben@bsima.me> | 2022-11-15 09:54:24 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2022-11-15 09:54:37 -0500 |
commit | 92521e0c88bf49eb5e1bd6c59c2d9eea32bac1be (patch) | |
tree | f9145197b3f1a18bfb222e544e9059f92995c341 | |
parent | 032b1f0a62f2869c941cf4d5bfa5bb3fe068785a (diff) |
moved ledger stuff to ~/fund
Change-Id: If0996e11fa8b6a17fb42f9ce264f14187b22122c
-rw-r--r-- | lib/common.nix | 9 | ||||
-rw-r--r-- | lib/linux.nix | 3 | ||||
-rw-r--r-- | pkgs/hledger-1.19.1.nix | 43 | ||||
-rw-r--r-- | pkgs/hledger-lib-1.19.1.nix | 35 |
4 files changed, 0 insertions, 90 deletions
diff --git a/lib/common.nix b/lib/common.nix index 8b40f60..2f6c77e 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -15,7 +15,6 @@ in { LANGUAGE = locale; PATH = "${homedir}/bin:${homedir}/.local/bin:$PATH"; PAGER = "less"; # "bat --theme=ansi"; - LEDGER_FILE = "${homedir}/.hledger.journal"; XTERM_LOCALE = locale; PYTHONSTARTUP = "${homedir}/.pythonrc"; @@ -46,14 +45,6 @@ in { source = ./editorconfig; target = ".editorconfig"; }; - hledger = { - source = builtins.toFile "hledger.journal" '' - !include ${homedir}/org/fund/accounts.journal - !include ${homedir}/org/fund/ledger.journal - !include ${homedir}/org/fund/prices.journal - ''; - target = ".hledger.journal"; - }; pythonrc = { source = ./pythonrc; target = ".pythonrc"; diff --git a/lib/linux.nix b/lib/linux.nix index fd0f887..7da8c2f 100644 --- a/lib/linux.nix +++ b/lib/linux.nix @@ -98,9 +98,6 @@ in youtube-dl yubioath-desktop zathura - - # languages i regularly use - (haskellPackages.ghcWithPackages (a: with a; [hledger rainbow])) # for hledger scripting ]; }; fonts.fontconfig.enable = true; diff --git a/pkgs/hledger-1.19.1.nix b/pkgs/hledger-1.19.1.nix deleted file mode 100644 index 11f4678..0000000 --- a/pkgs/hledger-1.19.1.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ mkDerivation, aeson, ansi-terminal, base, base-compat-batteries -, bytestring, cmdargs, containers, data-default, Decimal, Diff -, directory, extra, filepath, hashable, haskeline, hledger-lib -, lucid, math-functions, megaparsec, mtl, old-time, parsec -, pretty-show, process, regex-tdfa, safe, shakespeare, split -, stdenv, tabular, tasty, temporary, terminfo, text, time, timeit -, transformers, unordered-containers, utf8-string, utility-ht -, wizards -}: -mkDerivation { - pname = "hledger"; - version = "1.19.1"; - sha256 = "d5c1eb6d8de5cf2d82771db1796b57a304095fa940773a6405c9cd8085f3da71"; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson ansi-terminal base base-compat-batteries bytestring cmdargs - containers data-default Decimal Diff directory extra filepath - hashable haskeline hledger-lib lucid math-functions megaparsec mtl - old-time parsec pretty-show process regex-tdfa safe shakespeare - split tabular tasty temporary terminfo text time timeit - transformers unordered-containers utf8-string utility-ht wizards - ]; - executableHaskellDepends = [ - aeson ansi-terminal base base-compat-batteries bytestring cmdargs - containers data-default Decimal directory extra filepath haskeline - hledger-lib math-functions megaparsec mtl old-time parsec - pretty-show process regex-tdfa safe shakespeare split tabular tasty - temporary terminfo text time timeit transformers - unordered-containers utf8-string utility-ht wizards - ]; - testHaskellDepends = [ - aeson ansi-terminal base base-compat-batteries bytestring cmdargs - containers data-default Decimal directory extra filepath haskeline - hledger-lib math-functions megaparsec mtl old-time parsec - pretty-show process regex-tdfa safe shakespeare split tabular tasty - temporary terminfo text time timeit transformers - unordered-containers utf8-string utility-ht wizards - ]; - homepage = "http://hledger.org"; - description = "Command-line interface for the hledger accounting system"; - license = stdenv.lib.licenses.gpl3; -} diff --git a/pkgs/hledger-lib-1.19.1.nix b/pkgs/hledger-lib-1.19.1.nix deleted file mode 100644 index 329bade..0000000 --- a/pkgs/hledger-lib-1.19.1.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ mkDerivation, aeson, aeson-pretty, ansi-terminal, array, base -, base-compat-batteries, blaze-markup, bytestring, call-stack -, cassava, cassava-megaparsec, cmdargs, containers, data-default -, Decimal, directory, doctest, extra, fgl, file-embed, filepath -, Glob, hashtables, megaparsec, mtl, old-time, parsec -, parser-combinators, pretty-show, regex-tdfa, safe, split, stdenv -, tabular, tasty, tasty-hunit, template-haskell, text, time, timeit -, transformers, uglymemo, unordered-containers, utf8-string -}: -mkDerivation { - pname = "hledger-lib"; - version = "1.19.1"; - sha256 = "cabf263fe8a3c38822c9146b54a519fe56d369456c72be6db5a88c1c0208c15f"; - libraryHaskellDepends = [ - aeson aeson-pretty ansi-terminal array base base-compat-batteries - blaze-markup bytestring call-stack cassava cassava-megaparsec - cmdargs containers data-default Decimal directory extra fgl - file-embed filepath Glob hashtables megaparsec mtl old-time parsec - parser-combinators pretty-show regex-tdfa safe split tabular tasty - tasty-hunit template-haskell text time timeit transformers uglymemo - unordered-containers utf8-string - ]; - testHaskellDepends = [ - aeson aeson-pretty ansi-terminal array base base-compat-batteries - blaze-markup bytestring call-stack cassava cassava-megaparsec - cmdargs containers data-default Decimal directory doctest extra fgl - file-embed filepath Glob hashtables megaparsec mtl old-time parsec - parser-combinators pretty-show regex-tdfa safe split tabular tasty - tasty-hunit template-haskell text time timeit transformers uglymemo - unordered-containers utf8-string - ]; - homepage = "http://hledger.org"; - description = "A reusable library providing the core functionality of hledger"; - license = stdenv.lib.licenses.gpl3; -} |