From cf8e9f60920742f11a972c266e8bf5bf358c0881 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Wed, 23 Nov 2022 19:42:43 -0800 Subject: [PATCH 1/1] Specify license --- default.nix | 6 ++++++ nix_pin_deps.py | 7 +++++++ setup.py | 5 +++++ 3 files changed, 18 insertions(+) diff --git a/default.nix b/default.nix index 7be4d9c..b3b1fa6 100644 --- a/default.nix +++ b/default.nix @@ -10,4 +10,10 @@ pkgs.python3Packages.callPackage checkPhase = '' ./test.sh ${lib.optionalString lint "lint"} ''; + meta = { + description = "GC-pin dependencies of a partially-built derivation"; + homepage = "https://git.scottworley.com/nix-pin-deps"; + license = pkgs.lib.licenses.gpl3; + maintainers = with pkgs.lib.maintainers; [ chkno ]; + }; }) { } diff --git a/nix_pin_deps.py b/nix_pin_deps.py index 6f12df8..297f7c1 100644 --- a/nix_pin_deps.py +++ b/nix_pin_deps.py @@ -1,3 +1,10 @@ +# nix-pin-deps: gc-pin dependencies of a partially-built derivation +# +# 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. + + from contextlib import contextmanager import json import os diff --git a/setup.py b/setup.py index e581026..d449047 100644 --- a/setup.py +++ b/setup.py @@ -3,6 +3,11 @@ from setuptools import setup setup( name='nix-pin-deps', version='1.0.0', + description="gc-pin dependencies of a partially-built derivation", + author="Scott Worley", + author_email="scottworley@scottworley.com", + url="https://git.scottworley.com/nix-pin-deps", py_modules=['nix_pin_deps'], + license="GPL-3.0", entry_points={'console_scripts': ['nix-pin-deps = nix_pin_deps:main']}, ) -- 2.44.1