mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
python3Packages.beancount: 2.3.6 -> 3.1.0
This commit is contained in:
parent
5eab8f3dec
commit
cc354c451c
4 changed files with 74 additions and 0 deletions
|
@ -175,6 +175,8 @@
|
||||||
|
|
||||||
- `ast-grep` remove `sg` command to prevent conflict with `sg` command from shadow-utils. If you need legacy sg command compatibility with old code, you can use `ast-grep.override { enableLegacySg = true; }`
|
- `ast-grep` remove `sg` command to prevent conflict with `sg` command from shadow-utils. If you need legacy sg command compatibility with old code, you can use `ast-grep.override { enableLegacySg = true; }`
|
||||||
|
|
||||||
|
- `python3Packages.beancount` was updated to 3.1.0. Previous major version remains available as `python3Packages.beancount_2`.
|
||||||
|
|
||||||
- `binwalk` was updated to 3.1.0, which has been rewritten in rust. The python module is no longer available.
|
- `binwalk` was updated to 3.1.0, which has been rewritten in rust. The python module is no longer available.
|
||||||
See the release notes of [3.1.0](https://github.com/ReFirmLabs/binwalk/releases/tag/v3.1.0) for more information.
|
See the release notes of [3.1.0](https://github.com/ReFirmLabs/binwalk/releases/tag/v3.1.0) for more information.
|
||||||
|
|
||||||
|
|
68
pkgs/development/python-modules/beancount/default.nix
Normal file
68
pkgs/development/python-modules/beancount/default.nix
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
bison,
|
||||||
|
buildPythonPackage,
|
||||||
|
click,
|
||||||
|
fetchFromGitHub,
|
||||||
|
flex,
|
||||||
|
gnupg,
|
||||||
|
meson,
|
||||||
|
meson-python,
|
||||||
|
pytestCheckHook,
|
||||||
|
python-dateutil,
|
||||||
|
regex,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "3.1.0";
|
||||||
|
pname = "beancount";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "beancount";
|
||||||
|
repo = "beancount";
|
||||||
|
tag = version;
|
||||||
|
hash = "sha256-ogjBW/NGlMmhYlzcx3EWWoVi+OOEv2Wm49tzwMiNb8A=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
meson
|
||||||
|
meson-python
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
click
|
||||||
|
python-dateutil
|
||||||
|
regex
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
bison
|
||||||
|
flex
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
gnupg
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
# avoid local paths, relative imports wont resolve correctly
|
||||||
|
mv beancount tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "beancount" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/beancount/beancount";
|
||||||
|
changelog = "https://github.com/beancount/beancount/releases/tag/${src.tag}";
|
||||||
|
description = "Double-entry bookkeeping computer language";
|
||||||
|
longDescription = ''
|
||||||
|
A double-entry bookkeeping computer language that lets you define
|
||||||
|
financial transaction records in a text file, read them in memory,
|
||||||
|
generate a variety of reports from them, and provides a web interface.
|
||||||
|
'';
|
||||||
|
license = lib.licenses.gpl2Only;
|
||||||
|
maintainers = with lib.maintainers; [ alapshin ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -15944,6 +15944,8 @@ with pkgs;
|
||||||
|
|
||||||
samplv1 = libsForQt5.callPackage ../applications/audio/samplv1 { };
|
samplv1 = libsForQt5.callPackage ../applications/audio/samplv1 { };
|
||||||
|
|
||||||
|
beancount = with python3.pkgs; toPythonApplication beancount;
|
||||||
|
|
||||||
beancount_2 = with python3.pkgs; toPythonApplication beancount_2;
|
beancount_2 = with python3.pkgs; toPythonApplication beancount_2;
|
||||||
|
|
||||||
beancount-black = with python3.pkgs; toPythonApplication beancount-black;
|
beancount-black = with python3.pkgs; toPythonApplication beancount-black;
|
||||||
|
|
|
@ -1587,6 +1587,8 @@ self: super: with self; {
|
||||||
|
|
||||||
before-after = callPackage ../development/python-modules/before-after { };
|
before-after = callPackage ../development/python-modules/before-after { };
|
||||||
|
|
||||||
|
beancount = callPackage ../development/python-modules/beancount { };
|
||||||
|
|
||||||
beancount_2 = callPackage ../development/python-modules/beancount/2.nix { };
|
beancount_2 = callPackage ../development/python-modules/beancount/2.nix { };
|
||||||
|
|
||||||
beancount-black = callPackage ../development/python-modules/beancount-black { };
|
beancount-black = callPackage ../development/python-modules/beancount-black { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue