Loading pkgs/development/python-modules/walrus/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib , pkgs , buildPythonPackage , fetchFromGitHub , redis , unittestCheckHook }: buildPythonPackage rec { pname = "walrus"; version = "0.9.3"; format = "setuptools"; src = fetchFromGitHub { owner = "coleifer"; repo = "walrus"; rev = version; hash = "sha256-jinYMGSBAY8HTg92qU/iU5vGIrrDr5SeQG0XjsBVfcc="; }; propagatedBuildInputs = [ redis ]; nativeCheckInputs = [ unittestCheckHook ]; preCheck = '' ${pkgs.redis}/bin/redis-server & REDIS_PID=$! ''; postCheck = '' kill $REDIS_PID ''; pythonImportsCheck = [ "walrus" ]; meta = with lib; { description = "Lightweight Python utilities for working with Redis"; homepage = "https://github.com/coleifer/walrus"; changelog = "https://github.com/coleifer/walrus/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ mbalatsko ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13844,6 +13844,8 @@ self: super: with self; { wallbox = callPackage ../development/python-modules/wallbox { }; walrus = callPackage ../development/python-modules/walrus { }; wand = callPackage ../development/python-modules/wand { }; wandb = callPackage ../development/python-modules/wandb { }; Loading Loading
pkgs/development/python-modules/walrus/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib , pkgs , buildPythonPackage , fetchFromGitHub , redis , unittestCheckHook }: buildPythonPackage rec { pname = "walrus"; version = "0.9.3"; format = "setuptools"; src = fetchFromGitHub { owner = "coleifer"; repo = "walrus"; rev = version; hash = "sha256-jinYMGSBAY8HTg92qU/iU5vGIrrDr5SeQG0XjsBVfcc="; }; propagatedBuildInputs = [ redis ]; nativeCheckInputs = [ unittestCheckHook ]; preCheck = '' ${pkgs.redis}/bin/redis-server & REDIS_PID=$! ''; postCheck = '' kill $REDIS_PID ''; pythonImportsCheck = [ "walrus" ]; meta = with lib; { description = "Lightweight Python utilities for working with Redis"; homepage = "https://github.com/coleifer/walrus"; changelog = "https://github.com/coleifer/walrus/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ mbalatsko ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13844,6 +13844,8 @@ self: super: with self; { wallbox = callPackage ../development/python-modules/wallbox { }; walrus = callPackage ../development/python-modules/walrus { }; wand = callPackage ../development/python-modules/wand { }; wandb = callPackage ../development/python-modules/wandb { }; Loading