From 1d8bb7e5c85189905b9d08c8d2b918b5c30c6641 Mon Sep 17 00:00:00 2001 From: "Samuel W. Flint" Date: Sun, 17 Jun 2018 04:59:07 -0500 Subject: lice: init at 0.4 (#42108) * lice: init at 0.4 * lice: make changes per pSub --- pkgs/tools/misc/lice/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/tools/misc/lice/default.nix (limited to 'pkgs/tools/misc') diff --git a/pkgs/tools/misc/lice/default.nix b/pkgs/tools/misc/lice/default.nix new file mode 100644 index 000000000000..bb0f93ba3283 --- /dev/null +++ b/pkgs/tools/misc/lice/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchFromGitHub, python3Packages }: + +python3Packages.buildPythonPackage rec { + + version = "0.4"; + name = "lice-${version}"; + + src = fetchFromGitHub { + owner = "licenses"; + repo = "lice"; + rev = version; + sha256 = "0yxf70fi8ds3hmwjply2815k466r99k8n22r0ppfhwjvp3rn60qx"; + fetchSubmodules = true; + }; + + meta = with stdenv.lib; { + description = "Print license based on selection and user options."; + homepage = https://github.com/licenses/lice; + license = licenses.bsd3; + maintainers = with maintainers; [ swflint ]; + platforms = platforms.unix; + }; + +} -- cgit 1.4.1