40 lines
662 B
Nix
40 lines
662 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchFromGitHub
|
||
|
, pythonRelaxDepsHook
|
||
|
|
||
|
, hatchling
|
||
|
|
||
|
, click
|
||
|
, gitpython
|
||
|
, honcho
|
||
|
, jinja2
|
||
|
, python-crontab
|
||
|
, requests
|
||
|
, semantic-version
|
||
|
, setuptools
|
||
|
, tomli
|
||
|
}:
|
||
|
buildPythonPackage rec {
|
||
|
pname = "frappe-bench";
|
||
|
version = "5.16.2";
|
||
|
format = "pyproject";
|
||
|
src = import ../srcs/bench.nix {inherit fetchFromGitHub; };
|
||
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||
|
pythonRelaxDeps = [ "jinja2" "python-crontab" "semantic-version" ];
|
||
|
buildInputs = [
|
||
|
hatchling
|
||
|
];
|
||
|
propagatedBuildInputs = [
|
||
|
click
|
||
|
gitpython
|
||
|
honcho
|
||
|
jinja2
|
||
|
python-crontab
|
||
|
requests
|
||
|
semantic-version
|
||
|
setuptools
|
||
|
tomli
|
||
|
];
|
||
|
}
|