depot/third_party/nixpkgs/pkgs/by-name/ca/cansina/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01: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";
};
}