Completely reformat to satisfy nixfmt
This commit is contained in:
+18
-18
@@ -1,24 +1,26 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
installShellFiles,
|
||||
}:
|
||||
|
||||
with python3.pkgs;
|
||||
|
||||
let
|
||||
|
||||
runtimeDeps = ps: with ps; [
|
||||
certifi
|
||||
setuptools
|
||||
pip
|
||||
virtualenv
|
||||
virtualenv-clone
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isAndroid [
|
||||
pyjnius
|
||||
];
|
||||
runtimeDeps =
|
||||
ps:
|
||||
with ps;
|
||||
[
|
||||
certifi
|
||||
setuptools
|
||||
pip
|
||||
virtualenv
|
||||
virtualenv-clone
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isAndroid [ pyjnius ];
|
||||
|
||||
pythonEnv = python3.withPackages runtimeDeps;
|
||||
|
||||
@@ -71,9 +73,7 @@ buildPythonApplication rec {
|
||||
"test_download_file"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/integration"
|
||||
];
|
||||
disabledTestPaths = [ "tests/integration" ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd pipenv \
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, toPythonModule
|
||||
, pipenv
|
||||
,
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
toPythonModule,
|
||||
pipenv,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -19,9 +19,7 @@ buildPythonPackage rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
dependencies = [
|
||||
(toPythonModule pipenv)
|
||||
];
|
||||
dependencies = [ (toPythonModule pipenv) ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Auto pipenv support for Xonsh";
|
||||
|
||||
Reference in New Issue
Block a user