depot/pkgs/by-name/ca/cansina/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

39 lines
823 B
Nix

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