about summary refs log tree commit diff
path: root/pkgs/by-name/cu/cursewords/package.nix
blob: 44c49cbb874bc5f6e1ae4fc54419d41ac00fa88f (plain) (blame)
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
{ lib
, python3Packages
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
  pname = "cursewords";
  version = "1.1";

  src = fetchFromGitHub {
    owner = "thisisparker";
    repo = "cursewords";
    rev = "v${version}";
    hash = "sha256-Ssr15kSdWmyMFFG5uCregrpGQ3rI2cMXqY9+/a3gs84=";
  };

  nativeBuildInputs = [
    python3Packages.setuptools
    python3Packages.wheel
  ];

  doCheck = false; # no tests

  propagatedBuildInputs = [
    python3Packages.blessed
  ];

  meta = with lib; {
    homepage = "https://github.com/thisisparker/cursewords";
    description = "Graphical command line program for solving crossword puzzles in the terminal";
    mainProgram = "cursewords";
    license = licenses.agpl3Only;
    maintainers = with maintainers; [ danderson ];
    platforms = platforms.all;
  };
}