jrnl: format with nixfmt
This commit is contained in:
parent
fc41b1abe2
commit
c7bfada2c4
1 changed files with 12 additions and 13 deletions
|
@ -1,8 +1,9 @@
|
||||||
{ lib
|
{
|
||||||
, fetchFromGitHub
|
lib,
|
||||||
, python3
|
fetchFromGitHub,
|
||||||
, testers
|
python3,
|
||||||
, jrnl
|
testers,
|
||||||
|
jrnl,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
@ -23,9 +24,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
--replace-fail "from pytest_bdd.steps import inject_fixture" "from pytest_bdd.compat import inject_fixture"
|
--replace-fail "from pytest_bdd.steps import inject_fixture" "from pytest_bdd.compat import inject_fixture"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = with python3.pkgs; [
|
build-system = with python3.pkgs; [ poetry-core ];
|
||||||
poetry-core
|
|
||||||
];
|
|
||||||
|
|
||||||
dependencies = with python3.pkgs; [
|
dependencies = with python3.pkgs; [
|
||||||
asteval
|
asteval
|
||||||
|
@ -49,14 +48,11 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
toml
|
toml
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$(mktemp -d);
|
export HOME=$(mktemp -d);
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "jrnl" ];
|
||||||
"jrnl"
|
|
||||||
];
|
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = jrnl;
|
package = jrnl;
|
||||||
|
@ -68,7 +64,10 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
homepage = "https://jrnl.sh/";
|
homepage = "https://jrnl.sh/";
|
||||||
changelog = "https://github.com/jrnl-org/jrnl/releases/tag/v${version}";
|
changelog = "https://github.com/jrnl-org/jrnl/releases/tag/v${version}";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ bryanasdev000 zalakain ];
|
maintainers = with maintainers; [
|
||||||
|
bryanasdev000
|
||||||
|
zalakain
|
||||||
|
];
|
||||||
mainProgram = "jrnl";
|
mainProgram = "jrnl";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue