Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / office / beancount / bean-add.nix
blob1d5bafbdb40685f677c1c48bd7bee53f476322c3
1 { lib, stdenv, fetchFromGitHub, python3Packages }:
3 stdenv.mkDerivation {
4   pname = "bean-add";
5   version = "unstable-2018-01-08";
7   src = fetchFromGitHub {
8     owner = "simon-v";
9     repo = "bean-add";
10     rev = "660c657f295b019d8dbc26375924eb17bf654341";
11     sha256 = "0vzff2hdng8ybwd5frflhxpak0yqg0985p1dy7vpvhr8kbqqzwdz";
12   };
14   propagatedBuildInputs = with python3Packages; [ python ];
16   installPhase = ''
17     mkdir -p $out/bin/
18     cp bean-add $out/bin/bean-add
19     chmod +x $out/bin/bean-add
20   '';
22   meta = {
23     homepage = "https://github.com/simon-v/bean-add/";
24     description = "beancount transaction entry assistant";
26     # The (only) source file states:
27     #   License: "Do what you feel is right, but don't be a jerk" public license.
29     maintainers = with lib.maintainers; [ matthiasbeyer ];
30   };