nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 redis,
7}:
8
9buildPythonPackage (finalAttrs: {
10 pname = "huey";
11 version = "2.6.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "coleifer";
16 repo = "huey";
17 tag = finalAttrs.version;
18 hash = "sha256-vXp8xISf8g1VjIus/Xr4wKFFaVg5x4CXgP8IUUKYl+o=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [ redis ];
24
25 # connects to redis
26 doCheck = false;
27
28 pythonImportsCheck = [ "huey" ];
29
30 meta = {
31 description = "Module to queue tasks";
32 homepage = "https://github.com/coleifer/huey";
33 changelog = "https://github.com/coleifer/huey/blob/${finalAttrs.src.tag}/CHANGELOG.md";
34 license = lib.licenses.mit;
35 maintainers = [ ];
36 };
37})