nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit bf3d711aff665f91c5545b30c8434100912799af
parent 50cfcc14b44d1c5dd00e3c3628b6f207f85fe309
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sat, 21 Sep 2024 00:59:54 +0400

Add config-path

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/development/python-modules/config-path/default.nix | 27+++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -97,6 +97,7 @@ lib.makeScope newScope ( ### DEVELOPMENT / PYTHON MODULES click-6-7 = callPackage ./development/python-modules/click { }; + config-path = callPackage ./development/python-modules/config-path { }; contextily = callPackage ./development/python-modules/contextily { }; curses-menu = callPackage ./development/python-modules/curses-menu { }; earthpy = callPackage ./development/python-modules/earthpy { }; diff --git a/pkgs/development/python-modules/config-path/default.nix b/pkgs/development/python-modules/config-path/default.nix @@ -0,0 +1,27 @@ +{ + lib, + fetchFromGitHub, + python3Packages, +}: + +python3Packages.buildPythonPackage rec { + pname = "config-path"; + version = "1.0.5"; + pyproject = true; + + src = fetchFromGitHub { + owner = "barry-scott"; + repo = "config-path"; + rev = version; + hash = "sha256-W3qsCGYejM5J2FIYGJ5An2YCfuqQBtx6q3JCUxQAWUg="; + }; + + build-system = with python3Packages; [ setuptools-scm ]; + + meta = { + description = "Python library to work with paths to config folders and files in an OS independent way"; + homepage = "https://github.com/barry-scott/config-path"; + license = lib.licenses.asl20; + maintainers = [ lib.maintainers.sikmir ]; + }; +}