nixpkgs/pkgs/by-name/cu/cursewords/package.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

36 lines
797 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 = [ ];
platforms = platforms.all;
};
}