diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-11 08:55:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-11 08:55:48 +0100 |
commit | 1109e2423d4b4ce34a860a13beb87ac88e76a40f (patch) | |
tree | 658b48ba1b9291bfb244709689102fd4ee36d5ea | |
parent | 8addce8b60e351669c7e0303a51a370037ce9c3d (diff) | |
parent | 1c28232076683c1edc8838a247ec448b6d421d18 (diff) | |
download | nixpkgs-1109e2423d4b4ce34a860a13beb87ac88e76a40f.tar nixpkgs-1109e2423d4b4ce34a860a13beb87ac88e76a40f.tar.gz nixpkgs-1109e2423d4b4ce34a860a13beb87ac88e76a40f.tar.bz2 nixpkgs-1109e2423d4b4ce34a860a13beb87ac88e76a40f.tar.lz nixpkgs-1109e2423d4b4ce34a860a13beb87ac88e76a40f.tar.xz nixpkgs-1109e2423d4b4ce34a860a13beb87ac88e76a40f.tar.zst nixpkgs-1109e2423d4b4ce34a860a13beb87ac88e76a40f.zip |
Merge pull request #108753 from manojkarthick/expenses-init
-rw-r--r-- | maintainers/maintainer-list.nix | 6 | ||||
-rw-r--r-- | pkgs/applications/misc/expenses/default.nix | 34 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 42 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 346f7b47db4..87b7ea57a95 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5490,6 +5490,12 @@ githubId = 346094; name = "Michael Alyn Miller"; }; + manojkarthick = { + email = "smanojkarthick@gmail.com"; + github = "manojkarthick"; + githubId = 7802795; + name = "Manoj Karthick"; + }; manveru = { email = "m.fellinger@gmail.com"; github = "manveru"; diff --git a/pkgs/applications/misc/expenses/default.nix b/pkgs/applications/misc/expenses/default.nix new file mode 100644 index 00000000000..6b118e54122 --- /dev/null +++ b/pkgs/applications/misc/expenses/default.nix @@ -0,0 +1,34 @@ +{ stdenv +, buildGoModule +, fetchFromGitHub +, sqlite +}: + +buildGoModule rec { + pname = "expenses"; + version = "0.2.1"; + + src = fetchFromGitHub { + owner = "manojkarthick"; + repo = "expenses"; + rev = "v${version}"; + sha256 = "11wxaqbnrrg0rykx5905chi6rhmai1nqggdbhh6hiappr5rksl0j"; + }; + + vendorSha256 = "1kwj63wl4kb16zl3lmi9bzj1az7vi453asdy52na0mjx4ymmjyk1"; + + # package does not contain any tests as of v0.2.1 + doCheck = false; + + buildInputs = [ sqlite ]; + + buildFlagsArray = [ + "-ldflags=-s -w -X github.com/manojkarthick/expenses/cmd.Version=${version}" + ]; + + meta = with stdenv.lib; { + description = "An interactive command line expense logger"; + license = licenses.mit; + maintainers = [ maintainers.manojkarthick ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1f0c4582820..96bc0ce87d5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21514,6 +21514,8 @@ in exercism = callPackage ../applications/misc/exercism { }; + expenses = callPackage ../applications/misc/expenses { }; + go-libp2p-daemon = callPackage ../servers/go-libp2p-daemon { }; go-motion = callPackage ../development/tools/go-motion { }; |