nixpkgs/pkgs/tools/package-management/reuse/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
927 B
Nix
Raw Normal View History

2019-08-10 10:18:53 +00:00
{ lib, python3Packages, fetchFromGitHub }:
2019-03-18 08:26:08 +00:00
python3Packages.buildPythonApplication rec {
2019-03-18 08:26:08 +00:00
pname = "reuse";
2023-02-11 06:57:50 +00:00
version = "1.1.2";
format = "pyproject";
2019-03-18 08:26:08 +00:00
2019-08-10 10:18:53 +00:00
src = fetchFromGitHub {
owner = "fsfe";
repo = "reuse-tool";
2023-02-09 09:55:56 +00:00
rev = "refs/tags/v${version}";
2023-02-11 06:57:50 +00:00
hash = "sha256-J+zQrokrAX5tRU/2RPPSaFDyfsACPHHQYbK5sO99CMs=";
2019-03-18 08:26:08 +00:00
};
nativeBuildInputs = with python3Packages; [
poetry-core
];
propagatedBuildInputs = with python3Packages; [
2019-10-13 14:56:46 +00:00
binaryornot
boolean-py
debian
jinja2
license-expression
setuptools
setuptools-scm
2019-10-13 14:56:46 +00:00
];
2019-03-18 08:26:08 +00:00
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
2019-03-18 08:26:08 +00:00
meta = with lib; {
description = "A tool for compliance with the REUSE Initiative recommendations";
2019-10-21 14:42:17 +00:00
homepage = "https://github.com/fsfe/reuse-tool";
2019-10-28 18:03:10 +00:00
license = with licenses; [ asl20 cc-by-sa-40 cc0 gpl3Plus ];
2022-12-01 15:41:01 +00:00
maintainers = with maintainers; [ FlorianFranzen Luflosi ];
2019-03-18 08:26:08 +00:00
};
}