mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
python3Packages.confuse: cleanup
This commit is contained in:
parent
87a3129311
commit
b87f6e9ba6
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user