beancount-ing-diba: use poetry-core
This commit is contained in:
parent
8fcba0f722
commit
634718637c
@ -1,11 +1,10 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, buildPythonApplication
|
||||
, poetry
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "beancount-ing-diba";
|
||||
version = "0.6.0";
|
||||
|
||||
@ -16,10 +15,18 @@ buildPythonApplication rec {
|
||||
sha256 = "sha256-1cdXqdeTz38n0g13EXJ1/IF/gJJCe1uL/Z5NJz4DL+E=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "use-poetry-core.patch";
|
||||
url = "https://github.com/siddhantgoel/beancount-ing/commit/2d030330eed313a32c3968a2c8ce9400c6d18a41.patch";
|
||||
hash = "sha256-6v7eQhgj6d4x9uWSyuO3IxXrSWkJZRS/M4N3j0H3R/U=";
|
||||
})
|
||||
];
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -34355,9 +34355,7 @@ with pkgs;
|
||||
|
||||
bastet = callPackage ../games/bastet { };
|
||||
|
||||
beancount-ing-diba = callPackage ../applications/office/beancount/beancount-ing-diba.nix {
|
||||
inherit (python3Packages) buildPythonApplication;
|
||||
};
|
||||
beancount-ing-diba = callPackage ../applications/office/beancount/beancount-ing-diba.nix { };
|
||||
|
||||
black-hole-solver = callPackage ../games/black-hole-solver {
|
||||
inherit (perlPackages) PathTiny;
|
||||
|
Loading…
Reference in New Issue
Block a user