1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 certifi,
6 click,
7 requests,
8}:
9
10buildPythonPackage rec {
11 pname = "gistyc";
12 version = "1.3";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-WVK45U9e3qyZFi9wSRHNi9+1u4TetlZkYXAZN7LVqhE=";
18 };
19
20 propagatedBuildInputs = [
21 certifi
22 click
23 requests
24 ];
25
26 pythonImportsCheck = [ "gistyc" ];
27
28 meta = with lib; {
29 homepage = "https://github.com/ThomasAlbin/gistyc";
30 description = "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; [ ];
41 };
42}