evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / ca / cansina / package.nix
blob11e8d9fad487e9e9a857fc745a57f9d3a0cd5ca9
1 { lib
2 , python3
3 , fetchFromGitHub
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "cansina";
8   version = "0.9";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "deibit";
13     repo = "cansina";
14     rev = "refs/tags/${version}";
15     hash = "sha256-vDlYJSRBVFtEdE/1bN8PniFYkpggIKMcEakphHmaTos=";
16   };
18   nativeBuildInputs = with python3.pkgs; [
19     setuptools
20   ];
22   propagatedBuildInputs = with python3.pkgs; [
23     asciitree
24     requests
25   ];
27   pythonImportsCheck = [
28     "cansina"
29   ];
31   meta = with lib; {
32     description = "Web Content Discovery Tool";
33     homepage = "https://github.com/deibit/cansina";
34     changelog = "https://github.com/deibit/cansina/blob/${version}/CHANGELOG.md";
35     license = licenses.gpl3Only;
36     maintainers = with maintainers; [ fab ];
37     mainProgram = "cansina";
38   };