about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/lice/default.nix
blob: f873907c51efd13091d769b130f3727650069879 (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, buildPythonPackage, fetchPypi , setuptools, pytestCheckHook }:

buildPythonPackage rec {
  pname = "lice";
  version = "0.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0skyyirbidknfdzdvsjga8zb4ar6xpd5ilvz11dfm2a9yxh3d59d";
  };

  propagatedBuildInputs = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];
  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;
    mainProgram = "lice";
  };

}