python3Packages.confuse: cleanup

This commit is contained in:
Fabian Affolter 2022-01-15 11:12:52 +01:00 committed by Martin Weinelt
parent 87a3129311
commit b87f6e9ba6

View file

@ -1,12 +1,10 @@
{ buildPythonPackage
, enum34
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, isPy27
, lib
, pathlib
, pyyaml
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
@ -14,6 +12,8 @@ buildPythonPackage rec {
version = "1.5.0";
format = "flit";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "beetbox";
repo = pname;
@ -27,16 +27,15 @@ buildPythonPackage rec {
propagatedBuildInputs = [
pyyaml
] ++ lib.optionals isPy27 [
enum34
pathlib
] ;
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "confuse" ];
pythonImportsCheck = [
"confuse"
];
meta = with lib; {
description = "Python configuration library for Python that uses YAML";