python3Packages.magic-filter: init at 1.0.10
This commit is contained in:
parent
3cfc4db1e0
commit
029a3f4398
40
pkgs/development/python-modules/magic-filter/default.nix
Normal file
40
pkgs/development/python-modules/magic-filter/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, hatchling
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "magic-filter";
|
||||
version = "1.0.10";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aiogram";
|
||||
repo = "magic-filter";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-mHqq/ci8uMACNutwmxKX1nrl3nTSnSyU2x1VxzWxqzM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "magic_filter" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Magic filter based on dynamic attribute getter";
|
||||
homepage = "https://github.com/aiogram/magic-filter";
|
||||
changelog = "https://github.com/aiogram/magic-filter/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
};
|
||||
}
|
|
@ -6149,6 +6149,8 @@ self: super: with self; {
|
|||
|
||||
magicgui = callPackage ../development/python-modules/magicgui { };
|
||||
|
||||
magic-filter = callPackage ../development/python-modules/magic-filter { };
|
||||
|
||||
magic-wormhole = callPackage ../development/python-modules/magic-wormhole { };
|
||||
|
||||
magic-wormhole-mailbox-server = callPackage ../development/python-modules/magic-wormhole-mailbox-server { };
|
||||
|
|
Loading…
Reference in a new issue