Merge pull request #108753 from manojkarthick/expenses-init
This commit is contained in:
commit
1109e2423d
|
@ -5490,6 +5490,12 @@
|
||||||
githubId = 346094;
|
githubId = 346094;
|
||||||
name = "Michael Alyn Miller";
|
name = "Michael Alyn Miller";
|
||||||
};
|
};
|
||||||
|
manojkarthick = {
|
||||||
|
email = "smanojkarthick@gmail.com";
|
||||||
|
github = "manojkarthick";
|
||||||
|
githubId = 7802795;
|
||||||
|
name = "Manoj Karthick";
|
||||||
|
};
|
||||||
manveru = {
|
manveru = {
|
||||||
email = "m.fellinger@gmail.com";
|
email = "m.fellinger@gmail.com";
|
||||||
github = "manveru";
|
github = "manveru";
|
||||||
|
|
34
pkgs/applications/misc/expenses/default.nix
Normal file
34
pkgs/applications/misc/expenses/default.nix
Normal file
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -21514,6 +21514,8 @@ in
|
||||||
|
|
||||||
exercism = callPackage ../applications/misc/exercism { };
|
exercism = callPackage ../applications/misc/exercism { };
|
||||||
|
|
||||||
|
expenses = callPackage ../applications/misc/expenses { };
|
||||||
|
|
||||||
go-libp2p-daemon = callPackage ../servers/go-libp2p-daemon { };
|
go-libp2p-daemon = callPackage ../servers/go-libp2p-daemon { };
|
||||||
|
|
||||||
go-motion = callPackage ../development/tools/go-motion { };
|
go-motion = callPackage ../development/tools/go-motion { };
|
||||||
|
|
Loading…
Reference in a new issue