2016-09-29 16:10:21 +01:00
|
|
|
{ stdenv, fetchFromGitHub, python3Packages }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-04-25 10:30:34 +01:00
|
|
|
name = "bean-add-2017-04-06";
|
2016-09-29 16:10:21 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "simon-v";
|
|
|
|
repo = "bean-add";
|
2017-04-25 10:30:34 +01:00
|
|
|
rev = "67c3cd345dc370f8cd967a31549c1d0b86b07024";
|
|
|
|
sha256 = "0902lvwmf7k1h6gn3ilwzk20pxphbxsa3rn68jfhhfqpr6xpqf93";
|
2016-09-29 16:10:21 +01:00
|
|
|
};
|
|
|
|
|
2016-10-13 23:03:12 +01:00
|
|
|
propagatedBuildInputs = with python3Packages; [ python ];
|
2016-09-29 16:10:21 +01: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.
|
|
|
|
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|