mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
24 lines
603 B
Nix
24 lines
603 B
Nix
{ 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;
|
|
};
|
|
|
|
}
|