summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-creole/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-creole/default.nix')
-rw-r--r--pkgs/development/python-modules/python-creole/default.nix39
1 files changed, 17 insertions, 22 deletions
diff --git a/pkgs/development/python-modules/python-creole/default.nix b/pkgs/development/python-modules/python-creole/default.nix
index 0291c0473f42..53f77d388f5f 100644
--- a/pkgs/development/python-modules/python-creole/default.nix
+++ b/pkgs/development/python-modules/python-creole/default.nix
@@ -1,19 +1,20 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, fetchpatch
-, runtimeShell
+{
+ lib,
+ buildPythonPackage,
+ fetchFromGitHub,
+ fetchpatch,
+ runtimeShell,
-# build
-, poetry-core
+ # build
+ poetry-core,
-# propagates
-, docutils
+ # propagates
+ docutils,
-# tests
-, pytestCheckHook
-, readme-renderer
-, textile
+ # tests
+ pytestCheckHook,
+ readme-renderer,
+ textile,
}:
buildPythonPackage rec {
@@ -37,9 +38,7 @@ buildPythonPackage rec {
})
];
- nativeBuildInputs = [
- poetry-core
- ];
+ nativeBuildInputs = [ poetry-core ];
postPatch = ''
substituteInPlace Makefile \
@@ -48,13 +47,9 @@ buildPythonPackage rec {
sed -i "/-cov/d" pytest.ini
'';
- propagatedBuildInputs = [
- docutils
- ];
+ propagatedBuildInputs = [ docutils ];
- pythonImportsCheck = [
- "creole"
- ];
+ pythonImportsCheck = [ "creole" ];
nativeCheckInputs = [
pytestCheckHook