about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2024-01-02 10:23:29 +0100
committerGitHub <noreply@github.com>2024-01-02 10:23:29 +0100
commite3b3d7b3ef18657c68a76ef4c99b11e54bfa8f9d (patch)
treef652c6b90c9ec28411b33e100a430701595bc293 /pkgs
parent2a3d76faafb8c75ba38eac772bf51129f8f72dbc (diff)
parent2e55cb9b289cef71a988fbaf0db4a4c12ee6a7c6 (diff)
downloadnixlib-e3b3d7b3ef18657c68a76ef4c99b11e54bfa8f9d.tar
nixlib-e3b3d7b3ef18657c68a76ef4c99b11e54bfa8f9d.tar.gz
nixlib-e3b3d7b3ef18657c68a76ef4c99b11e54bfa8f9d.tar.bz2
nixlib-e3b3d7b3ef18657c68a76ef4c99b11e54bfa8f9d.tar.lz
nixlib-e3b3d7b3ef18657c68a76ef4c99b11e54bfa8f9d.tar.xz
nixlib-e3b3d7b3ef18657c68a76ef4c99b11e54bfa8f9d.tar.zst
nixlib-e3b3d7b3ef18657c68a76ef4c99b11e54bfa8f9d.zip
Merge pull request #278048 from fabaff/cansina
cansina: init at 0.9
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/by-name/ca/cansina/package.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/by-name/ca/cansina/package.nix b/pkgs/by-name/ca/cansina/package.nix
new file mode 100644
index 000000000000..11e8d9fad487
--- /dev/null
+++ b/pkgs/by-name/ca/cansina/package.nix
@@ -0,0 +1,39 @@
+{ lib
+, python3
+, fetchFromGitHub
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "cansina";
+  version = "0.9";
+  pyproject = true;
+
+  src = fetchFromGitHub {
+    owner = "deibit";
+    repo = "cansina";
+    rev = "refs/tags/${version}";
+    hash = "sha256-vDlYJSRBVFtEdE/1bN8PniFYkpggIKMcEakphHmaTos=";
+  };
+
+  nativeBuildInputs = with python3.pkgs; [
+    setuptools
+  ];
+
+  propagatedBuildInputs = with python3.pkgs; [
+    asciitree
+    requests
+  ];
+
+  pythonImportsCheck = [
+    "cansina"
+  ];
+
+  meta = with lib; {
+    description = "Web Content Discovery Tool";
+    homepage = "https://github.com/deibit/cansina";
+    changelog = "https://github.com/deibit/cansina/blob/${version}/CHANGELOG.md";
+    license = licenses.gpl3Only;
+    maintainers = with maintainers; [ fab ];
+    mainProgram = "cansina";
+  };
+}