depot/third_party/nixpkgs/pkgs/by-name/cu/cursewords/package.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

35 lines
825 B
Nix

{ 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;
};
}