about summary refs log tree commit diff
path: root/pkgs/development/python-modules/gistyc/default.nix
blob: eaa216ee63c6058b144967724d246abed95b2767 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
  lib,
  buildPythonPackage,
  fetchPypi,
  certifi,
  click,
  requests,
}:

buildPythonPackage rec {
  pname = "gistyc";
  version = "1.3";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-WVK45U9e3qyZFi9wSRHNi9+1u4TetlZkYXAZN7LVqhE=";
  };

  propagatedBuildInputs = [
    certifi
    click
    requests
  ];

  pythonImportsCheck = [ "gistyc" ];

  meta = with lib; {
    homepage = "https://github.com/ThomasAlbin/gistyc";
    description = "Python based GitHub GIST management tool";
    longDescription = ''
      gistyc is a Python-based library that enables developers to create, update
      and delete their GitHub GISTs. CLI capabilities allow you to execute the
      routines from the shell and can be integrated into your project's CI/CD
      pipeline to automatically create or update your GISTs (e.g., via GitHub
      actions). Files are separated in GIST sections depending on the separation
      blocks.
    '';
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ AndersonTorres ];
  };
}