2016-09-29 17:10:21 +02:00
|
|
|
{ stdenv, fetchFromGitHub, python3Packages }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-21 13:52:40 +01:00
|
|
|
name = "bean-add-2018-01-08";
|
2016-09-29 17:10:21 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "simon-v";
|
|
|
|
repo = "bean-add";
|
2018-02-21 13:52:40 +01:00
|
|
|
rev = "660c657f295b019d8dbc26375924eb17bf654341";
|
|
|
|
sha256 = "0vzff2hdng8ybwd5frflhxpak0yqg0985p1dy7vpvhr8kbqqzwdz";
|
2016-09-29 17:10:21 +02:00
|
|
|
};
|
|
|
|
|
2016-10-14 00:03:12 +02:00
|
|
|
propagatedBuildInputs = with python3Packages; [ python ];
|
2016-09-29 17:10:21 +02:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2019-02-20 19:52:48 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
|
2016-09-29 17:10:21 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|