mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
hledger-utils: init at 1.12.1
This commit is contained in:
parent
ac3d289481
commit
ac47db290b
68
pkgs/development/python-modules/hledger-utils/default.nix
Normal file
68
pkgs/development/python-modules/hledger-utils/default.nix
Normal file
@ -0,0 +1,68 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitLab
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, unittestCheckHook
|
||||
, hledger
|
||||
, perl
|
||||
, rich
|
||||
, pandas
|
||||
, scipy
|
||||
, psutil
|
||||
, matplotlib
|
||||
, drawilleplot
|
||||
, asteval
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hledger-utils";
|
||||
version = "1.12.1";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "nobodyinperson";
|
||||
repo = "hledger-utils";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-uAFqBNRET3RaWDTyV53onrBs1fjPR4b5rAvg5lweUN0=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
rich
|
||||
pandas
|
||||
scipy
|
||||
psutil
|
||||
matplotlib
|
||||
drawilleplot
|
||||
asteval
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
hledger
|
||||
perl
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export PATH=$out/bin:$PATH
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities extending hledger";
|
||||
homepage = "https://gitlab.com/nobodyinperson/hledger-utils";
|
||||
license = with licenses; [cc0 cc-by-40 gpl3];
|
||||
maintainers = with maintainers; [ nobbz ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -29831,6 +29831,7 @@ with pkgs;
|
||||
hledger-interest = haskell.lib.compose.justStaticExecutables haskellPackages.hledger-interest;
|
||||
hledger-ui = haskell.lib.compose.justStaticExecutables haskellPackages.hledger-ui;
|
||||
hledger-web = haskell.lib.compose.justStaticExecutables haskellPackages.hledger-web;
|
||||
hledger-utils = with python3.pkgs; toPythonApplication hledger-utils;
|
||||
|
||||
homebank = callPackage ../applications/office/homebank {
|
||||
gtk = gtk3;
|
||||
|
@ -4319,6 +4319,8 @@ self: super: with self; {
|
||||
|
||||
hkdf = callPackage ../development/python-modules/hkdf { };
|
||||
|
||||
hledger-utils = callPackage ../development/python-modules/hledger-utils { };
|
||||
|
||||
hlk-sw16 = callPackage ../development/python-modules/hlk-sw16 { };
|
||||
|
||||
hmmlearn = callPackage ../development/python-modules/hmmlearn { };
|
||||
|
Loading…
Reference in New Issue
Block a user