diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/office/beancount/bean-add.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/office/beancount/bean-add.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/office/beancount/bean-add.nix b/nixpkgs/pkgs/applications/office/beancount/bean-add.nix new file mode 100644 index 000000000000..9eec315217cb --- /dev/null +++ b/nixpkgs/pkgs/applications/office/beancount/bean-add.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, python3Packages }: + +stdenv.mkDerivation rec { + name = "bean-add-2018-01-08"; + + src = fetchFromGitHub { + owner = "simon-v"; + repo = "bean-add"; + rev = "660c657f295b019d8dbc26375924eb17bf654341"; + sha256 = "0vzff2hdng8ybwd5frflhxpak0yqg0985p1dy7vpvhr8kbqqzwdz"; + }; + + propagatedBuildInputs = with python3Packages; [ python ]; + + installPhase = '' + mkdir -p $out/bin/ + cp bean-add $out/bin/bean-add + chmod +x $out/bin/bean-add + ''; + + meta = { + homepage = https://github.com/simon-v/bean-add/; + description = "beancount transaction entry assistant"; + + # The (only) source file states: + # License: "Do what you feel is right, but don't be a jerk" public license. + + maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ]; + }; +} + |