git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #19083 from matthiasbeyer/add-bean-add

bean-add: init at 76945c320e6f028223e4420956c80c421c4fe74a

commitc2a29261461adea825ce2f62d0f7ba64a3a2e5bb authorJörg Thalheim <joerg@higgsboson.tk> dateSun 2 Oct 2016, 16:45 (10 years ago) parentef23c2efe726ca
2 files changed+33
pkgs/applications/office/beancount/bean-add.nix+31 pkgs/top-level/all-packages.nix+2
pkgs/applications/office/beancount/bean-add.nixnew file+31
@@ -0,0 +1,31 @@
1+{ stdenv, fetchFromGitHub, python3Packages }:
2+
3+stdenv.mkDerivation rec {
4+ name = "bean-add-2016-10-01";
5+
6+ src = fetchFromGitHub {
7+ owner = "simon-v";
8+ repo = "bean-add";
9+ rev = "ea0c21090a9af171e60f325a3a4de810a565aba7";
10+ sha256 = "11xx3p29z40xwc9m9ajn1lrkphyyi6kr9ww7f761lj3y8h7q5jcr";
11+ };
12+
13+ propagatedBuildInputs = with python3Packages; [ python readline ];
14+
15+ installPhase = ''
16+ mkdir -p $out/bin/
17+ cp bean-add $out/bin/bean-add
18+ chmod +x $out/bin/bean-add
19+ '';
20+
21+ meta = {
22+ homepage = https://github.com/simon-v/bean-add/;
23+ description = "beancount transaction entry assistant";
24+
25+ # The (only) source file states:
26+ # License: "Do what you feel is right, but don't be a jerk" public license.
27+
28+ maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
29+ };
30+}
31+
pkgs/top-level/all-packages.nix+2
@@ -15221,6 +15221,8 @@ in
1522115221 pythonPackages = python3Packages;
1522215222 };
1522315223
15224+ bean-add = callPackage ../applications/office/beancount/bean-add.nix { };
15225+
1522415226 beret = callPackage ../games/beret { };
1522515227
1522615228 bitsnbots = callPackage ../games/bitsnbots {