From 05a3d87bd6dfd31c10f42c04ccc57f2e480c47f3 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Wed, 23 Nov 2022 18:20:38 -0800 Subject: [PATCH] Specify license --- Changelog | 2 ++ default.nix | 6 ++++++ pinch.py | 7 +++++++ setup.py | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/Changelog b/Changelog index dab8eb6..75e6be8 100644 --- a/Changelog +++ b/Changelog @@ -1,4 +1,6 @@ ## [Unreleased] +### Changed +- Specify license ## [3.0.10] - 2022-11-23 diff --git a/default.nix b/default.nix index 7744281..e62e1d3 100644 --- a/default.nix +++ b/default.nix @@ -31,6 +31,12 @@ in pkgs.python3Packages.callPackage ({ lib, buildPythonPackage, nix_2_3, git ''; doCheck = true; checkPhase = "./test.sh"; + meta = { + description = "A replacement for `nix-channel --update`"; + homepage = "https://git.scottworley.com/pinc"; + license = pkgs.lib.licenses.gpl3; + maintainers = with pkgs.lib.maintainers; [ chkno ]; + }; }) { git-cache = pkgs.python3Packages.git-cache or (pkgs.python3Packages.callPackage diff --git a/pinch.py b/pinch.py index a66a03a..89d6f61 100644 --- a/pinch.py +++ b/pinch.py @@ -1,3 +1,10 @@ +# pinch: PIN CHannels - a replacement for `nix-channel --update` +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation, version 3. + + import argparse import configparser import filecmp diff --git a/setup.py b/setup.py index 57fc3b9..baf4f03 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,12 @@ from setuptools import setup setup( name='pinch', version='3.0.10', + description="Cache git content locally", + author="Scott Worley", + author_email="scottworley@scottworley.com", + url="https://git.scottworley.com/git-cache", py_modules=['pinch'], + license="GPL-3.0", entry_points={'console_scripts': ['pinch = pinch:main']}, dependency_links=['https://scottworley.com/git/git-cache'], ) -- 2.44.1