1{ lib
2, buildPythonPackage
3, fetchPypi
4, certifi
5, click
6, requests
7}:
8
9buildPythonPackage rec {
10 pname = "gistyc";
11 version = "1.3";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-WVK45U9e3qyZFi9wSRHNi9+1u4TetlZkYXAZN7LVqhE=";
16 };
17
18 propagatedBuildInputs = [
19 certifi
20 click
21 requests
22 ];
23
24 pythonImportsCheck = [
25 "gistyc"
26 ];
27
28 meta = with lib; {
29 homepage = "https://github.com/ThomasAlbin/gistyc";
30 description = "A Python based GitHub GIST management tool";
31 longDescription = ''
32 gistyc is a Python-based library that enables developers to create, update
33 and delete their GitHub GISTs. CLI capabilities allow you to execute the
34 routines from the shell and can be integrated into your project's CI/CD
35 pipeline to automatically create or update your GISTs (e.g., via GitHub
36 actions). Files are separated in GIST sections depending on the separation
37 blocks.
38 '';
39 license = licenses.gpl3Plus;
40 maintainers = with maintainers; [ AndersonTorres ];
41 };
42}