diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-09-29 17:10:21 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-10-01 14:49:22 +0200 |
commit | fe726ca7336cf03b7b7ca2e50a7ac7c0927692a6 (patch) | |
tree | 1f1e587150441e702ca5a07f32028f6b8483aa74 /pkgs/applications/office/beancount | |
parent | 4d8e445a142be982fdba6f93f8ae5e196a54b763 (diff) |
bean-add: init at 2016-10-01
Diffstat (limited to 'pkgs/applications/office/beancount')
-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 ]; + }; +} + |