nixpkgs/pkgs/applications/office/beancount/bean-add.nix

32 lines
801 B
Nix
Raw Normal View History

2016-09-29 15:10:21 +00:00
{ stdenv, fetchFromGitHub, python3Packages }:
stdenv.mkDerivation rec {
2017-10-31 14:58:30 +00:00
name = "bean-add-2017-10-31";
2016-09-29 15:10:21 +00:00
src = fetchFromGitHub {
owner = "simon-v";
repo = "bean-add";
2017-10-31 14:58:30 +00:00
rev = "9ac64272a17e76f8292bd94deb5aee45c14130d2";
sha256 = "1vcwbbi2jsf87yq8f2hyf7nz9br1973sb20qjnsx5fxlmcpn47jh";
2016-09-29 15:10:21 +00:00
};
2016-10-13 22:03:12 +00:00
propagatedBuildInputs = with python3Packages; [ python ];
2016-09-29 15:10:21 +00: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 ];
};
}