mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python3Packages.beancount-periodic: init at 0.2.1
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
unittestCheckHook,
|
||||
setuptools,
|
||||
beancount,
|
||||
beangulp,
|
||||
python-dateutil,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "beancount-periodic";
|
||||
version = "0.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dallaslu";
|
||||
repo = "beancount-periodic";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-XuBDKG/iOS0gyfiwEEPjIckAbnfOKHjYwXW4CmUy8eA=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
beancount
|
||||
beangulp
|
||||
python-dateutil
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
unittestFlags = [
|
||||
"-v"
|
||||
"tests"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "beancount_periodic" ];
|
||||
|
||||
meta = {
|
||||
description = "Beancount plugin to generate periodic transactions";
|
||||
homepage = "https://github.com/dallaslu/beancount-periodic";
|
||||
license = with lib.licenses; [ unlicense ];
|
||||
maintainers = with lib.maintainers; [ polyfloyd ];
|
||||
};
|
||||
}
|
||||
@@ -1769,6 +1769,8 @@ self: super: with self; {
|
||||
|
||||
beancount-parser = callPackage ../development/python-modules/beancount-parser { };
|
||||
|
||||
beancount-periodic = callPackage ../development/python-modules/beancount-periodic { };
|
||||
|
||||
beancount-plugin-utils = callPackage ../development/python-modules/beancount-plugin-utils { };
|
||||
|
||||
beancount_2 = callPackage ../development/python-modules/beancount/2.nix { };
|
||||
|
||||
Reference in New Issue
Block a user