git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #146454 from AndersonTorres/new-gistyc

gistyc: init at 1.3

commitcb34fa1b426e3c3de193535091600022d7f1080d authorAnderson Torres <torres.anderson.85@protonmail.com> dateThu 18 Nov 2021, 14:37 (5 years ago) parenta09bdaa3eaa93c
3 files changed+42
pkgs/development/python-modules/gistyc/default.nix+38 pkgs/top-level/all-packages.nix+2 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/gistyc/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, certifi
5+, click
6+, requests
7+}:
8+
9+buildPythonPackage 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+ meta = with lib; {
25+ homepage = "https://github.com/ThomasAlbin/gistyc";
26+ description = "A Python based GitHub GIST management tool";
27+ longDescription = ''
28+ gistyc is a Python-based library that enables developers to create, update
29+ and delete their GitHub GISTs. CLI capabilities allow you to execute the
30+ routines from the shell and can be integrated into your project's CI/CD
31+ pipeline to automatically create or update your GISTs (e.g., via GitHub
32+ actions). Files are separated in GIST sections depending on the separation
33+ blocks.
34+ '';
35+ license = licenses.gpl3Plus;
36+ maintainers = with maintainers; [ AndersonTorres ];
37+ };
38+}
pkgs/top-level/all-packages.nix+2
@@ -1739,6 +1739,8 @@ with pkgs;
17391739
17401740 gitless = callPackage ../applications/version-management/gitless { python = python3; };
17411741
1742+ gistyc = with python3Packages; toPythonApplication gistyc;
1743+
17421744 gitlint = python3Packages.callPackage ../tools/misc/gitlint { };
17431745
17441746 gitter = callPackage ../applications/networking/instant-messengers/gitter { };
pkgs/top-level/python-packages.nix+2
@@ -3100,6 +3100,8 @@ in {
31003100
31013101 gipc = callPackage ../development/python-modules/gipc { };
31023102
3103+ gistyc = callPackage ../development/python-modules/gistyc { };
3104+
31033105 git-annex-adapter =
31043106 callPackage ../development/python-modules/git-annex-adapter { };
31053107