anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / hyrule / default.nix
blob68b07d5c30eec51744a0ba44fb03722270ac88bf
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   hy,
6   pytestCheckHook,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "hyrule";
12   version = "0.7.0";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "hylang";
17     repo = "hyrule";
18     rev = "refs/tags/${version}";
19     hash = "sha256-w1Q2w/P1bDt/F1+zTkUFi5PxycXXE3p0qadfBcyWElg=";
20   };
22   build-system = [ setuptools ];
24   dependencies = [ hy ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   # Some tests depends on hy on PATH
29   preCheck = "PATH=${hy}/bin:$PATH";
31   pythonImportsCheck = [ "hyrule" ];
33   meta = with lib; {
34     description = "Utility library for the Hy programming language";
35     homepage = "https://github.com/hylang/hyrule";
36     changelog = "https://github.com/hylang/hylure/releases/tag/${version}";
37     license = licenses.mit;
38     maintainers = with maintainers; [ ];
39   };