diff options
Diffstat (limited to 'pkgs/applications/office/beancount/bean-add.nix')
-rw-r--r-- | pkgs/applications/office/beancount/bean-add.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/office/beancount/bean-add.nix b/pkgs/applications/office/beancount/bean-add.nix new file mode 100644 index 000000000000..fea82274bb91 --- /dev/null +++ b/pkgs/applications/office/beancount/bean-add.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, python3Packages }: + +stdenv.mkDerivation rec { + name = "bean-add-2016-10-01"; + + src = fetchFromGitHub { + owner = "simon-v"; + repo = "bean-add"; + rev = "ea0c21090a9af171e60f325a3a4de810a565aba7"; + sha256 = "11xx3p29z40xwc9m9ajn1lrkphyyi6kr9ww7f761lj3y8h7q5jcr"; + }; + + propagatedBuildInputs = with python3Packages; [ python readline ]; + + 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 ]; + }; +} + |