push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'reckon'

View File

@@ -0,0 +1,25 @@
GEM
remote: https://rubygems.org/
specs:
abbrev (0.1.2)
chronic (0.10.2)
csv (3.3.5)
highline (2.1.0)
matrix (0.4.2)
rchardet (1.8.0)
reckon (0.11.1)
abbrev (> 0.1)
chronic (>= 0.3.0)
csv (> 0.1)
highline (~> 2.0)
matrix (>= 0.4.2)
rchardet (= 1.8.0)
PLATFORMS
ruby
DEPENDENCIES
reckon
BUNDLED WITH
2.6.6

View File

@@ -0,0 +1,80 @@
{
abbrev = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0hj2qyx7rzpc7awhvqlm597x7qdxwi4kkml4aqnp5jylmsm4w6xd";
type = "gem";
};
version = "0.1.2";
};
chronic = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1hrdkn4g8x7dlzxwb1rfgr8kw3bp4ywg5l4y4i9c2g5cwv62yvvn";
type = "gem";
};
version = "0.10.2";
};
csv = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0gz7r2kazwwwyrwi95hbnhy54kwkfac5swh2gy5p5vw36fn38lbf";
type = "gem";
};
version = "3.3.5";
};
highline = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1f8cr014j7mdqpdb9q17fp5vb5b8n1pswqaif91s3ylg5x3pygfn";
type = "gem";
};
version = "2.1.0";
};
matrix = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1h2cgkpzkh3dd0flnnwfq6f3nl2b1zff9lvqz8xs853ssv5kq23i";
type = "gem";
};
version = "0.4.2";
};
rchardet = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1isj1b3ywgg2m1vdlnr41lpvpm3dbyarf1lla4dfibfmad9csfk9";
type = "gem";
};
version = "1.8.0";
};
reckon = {
dependencies = [
"abbrev"
"chronic"
"csv"
"highline"
"matrix"
"rchardet"
];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1y4iqjmgzj9nrp22pmayia54mpb4d6ga85q9xzqir7mhcd2bdca1";
type = "gem";
};
version = "0.11.1";
};
}

View File

@@ -0,0 +1,52 @@
{
stdenv,
lib,
bundlerEnv,
bundlerUpdateScript,
makeWrapper,
file,
testers,
reckon,
}:
stdenv.mkDerivation rec {
pname = "reckon";
version = (import ./gemset.nix).reckon.version;
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
installPhase =
let
env = bundlerEnv {
name = "${pname}-${version}-gems";
gemdir = ./.;
};
in
''
runHook preInstall
mkdir -p $out/bin
makeWrapper ${env}/bin/reckon $out/bin/reckon \
--prefix PATH : ${lib.makeBinPath [ file ]}
runHook postInstall
'';
passthru = {
tests.version = testers.testVersion {
package = reckon;
version = "${version}";
};
updateScript = bundlerUpdateScript "reckon";
};
meta = with lib; {
description = "Flexibly import bank account CSV files into Ledger for command line accounting";
mainProgram = "reckon";
license = licenses.mit;
maintainers = with maintainers; [ nicknovitski ];
platforms = platforms.unix;
changelog = "https://github.com/cantino/reckon/blob/v${version}/CHANGELOG.md";
};
}