mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 23:21:27 +00:00
python3Packages.simber: migrate to pyproject (#540250)
This commit is contained in:
@@ -2,23 +2,28 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
colorama,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "simber";
|
||||
version = "0.2.6";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deepjyoti30";
|
||||
repo = "simber";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-kHoFZD7nhVxJu9MqePLkL7KTG2saPecY9238c/oeEco=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ colorama ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ colorama ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
@@ -27,8 +32,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Simple, minimal and powerful logger for Python";
|
||||
homepage = "https://github.com/deepjyoti30/simber";
|
||||
changelog = "https://github.com/deepjyoti30/simber/releases/tag/${version}";
|
||||
changelog = "https://github.com/deepjyoti30/simber/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ j0hax ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user