git.iko.soy/typeable/nixpkgs
on master help sign in
gistyc: init at 1.3
commit3eaa93c722a67f0d1674b763467a655e78e456ad authorAndersonTorres <torres.anderson.85@protonmail.com> dateWed 17 Nov 2021, 21:12 (5 years ago) parentf78e747
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
@@ -1733,6 +1733,8 @@ with pkgs;
17331733
17341734 gitless = callPackage ../applications/version-management/gitless { python = python3; };
17351735
1736+ gistyc = with python3Packages; toPythonApplication gistyc;
1737+
17361738 gitlint = python3Packages.callPackage ../tools/misc/gitlint { };
17371739
17381740 gitter = callPackage ../applications/networking/instant-messengers/gitter { };
pkgs/top-level/python-packages.nix+2
@@ -3098,6 +3098,8 @@ in {
30983098
30993099 gipc = callPackage ../development/python-modules/gipc { };
31003100
3101+ gistyc = callPackage ../development/python-modules/gistyc { };
3102+
31013103 git-annex-adapter =
31023104 callPackage ../development/python-modules/git-annex-adapter { };
31033105