pythonPackages.python-dotenv: 0.10.2 -> 0.10.3
This commit is contained in:
parent
b88ac050bd
commit
080b2fb730
@ -1,15 +1,28 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, click, ipython }:
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||||
|
, click
|
||||||
|
, ipython
|
||||||
|
, pytest
|
||||||
|
, sh
|
||||||
|
, typing
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-dotenv";
|
pname = "python-dotenv";
|
||||||
version = "0.10.2";
|
version = "0.10.3";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "6640acd76e6cab84648e4fec16c9d19de6700971f9d91d045e7120622167bfda";
|
sha256 = "0i25gh8wi87l4g0iflp81rlgmps4cdmp90hwypalp7gcbwfxfmzi";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ click ipython ];
|
propagatedBuildInputs = [ click ] ++ lib.optionals isPy27 [ typing ];
|
||||||
|
|
||||||
|
checkInputs = [ ipython pytest sh ];
|
||||||
|
|
||||||
|
# cli tests are impure
|
||||||
|
checkPhase = ''
|
||||||
|
pytest tests/ -k 'not cli'
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Add .env support to your django/flask apps in development and deployments";
|
description = "Add .env support to your django/flask apps in development and deployments";
|
||||||
|
Loading…
Reference in New Issue
Block a user