Files
nixpkgs/pkgs/development/python-modules/gistyc/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

43 lines
1.0 KiB
Nix

{
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 = {
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 = lib.licenses.gpl3Plus;
maintainers = [ ];
};
}