blob: b343e955d171b29a4fdb197265d473b6ac1803e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
redis,
redisTestHook,
setuptools,
unittestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "walrus";
version = "0.9.8";
pyproject = true;
src = fetchFromGitHub {
owner = "coleifer";
repo = "walrus";
tag = finalAttrs.version;
hash = "sha256-AgaqDZHjUX/oLjzisWjZcrGL9QXQf73WW+hfK2WMQJ8=";
};
build-system = [ setuptools ];
dependencies = [ redis ];
nativeCheckInputs = [
unittestCheckHook
redisTestHook
];
pythonImportsCheck = [ "walrus" ];
__darwinAllowLocalNetworking = true;
meta = {
description = "Lightweight Python utilities for working with Redis";
homepage = "https://github.com/coleifer/walrus";
changelog = "https://github.com/coleifer/walrus/blob/${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
})
|