nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3Packages,
4 fetchFromGitHub,
5}:
6
7python3Packages.buildPythonApplication rec {
8 pname = "typr";
9 version = "1.0.1.21";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "DriftingOtter";
14 repo = "Typr";
15 tag = version;
16 hash = "sha256-49e5tnX/vea3xLJP62Sj2gCdjbfsulIU48X/AR/3IBI=";
17 };
18
19 build-system = with python3Packages; [ setuptools ];
20
21 dependencies = with python3Packages; [ rich ];
22
23 doCheck = false; # absent
24
25 meta = {
26 homepage = "https://github.com/DriftingOtter/Typr";
27 description = "Your Personal Typing Tutor";
28 license = lib.licenses.gpl3Only;
29 maintainers = with lib.maintainers; [ artur-sannikov ];
30 mainProgram = "typr";
31 };
32}