about summary refs log tree commit diff
path: root/pkgs/by-name/cu
diff options
context:
space:
mode:
authorDave Anderson <dave@natulte.net>2024-02-17 00:28:29 -0800
committerDave Anderson <dave@natulte.net>2024-02-17 00:59:22 -0800
commitb6ce6ebf4262683e6ef52fa0965655ab8af33865 (patch)
tree7bdaff1de98930a0742e24cab6fadc9d673ef4a9 /pkgs/by-name/cu
parent9503252b24362794ad9df4c193ced813512aaefa (diff)
cursewords: init at 1.1
Diffstat (limited to 'pkgs/by-name/cu')
-rw-r--r--pkgs/by-name/cu/cursewords/package.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/by-name/cu/cursewords/package.nix b/pkgs/by-name/cu/cursewords/package.nix
new file mode 100644
index 0000000000000..44c49cbb874bc
--- /dev/null
+++ b/pkgs/by-name/cu/cursewords/package.nix
@@ -0,0 +1,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;
+  };
+}