about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/lice/default.nix
blob: f7a8c68ed0620899b5adfb16f61e84a58ad7e6ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, 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 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;
  };

}