2019-08-10 11:18:53 +01:00
|
|
|
{ lib, python3Packages, fetchFromGitHub }:
|
2019-03-18 08:26:08 +00:00
|
|
|
|
|
|
|
with python3Packages;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "reuse";
|
2020-06-17 11:33:56 +01:00
|
|
|
version = "0.11.1";
|
2019-03-18 08:26:08 +00:00
|
|
|
|
2019-08-10 11:18:53 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fsfe";
|
|
|
|
repo = "reuse-tool";
|
2019-03-18 08:26:08 +00:00
|
|
|
rev = "v${version}";
|
2020-06-17 11:33:56 +01:00
|
|
|
sha256 = "0wkk107s0bpvbknapns0qdzf8csrzc2j6gliy6pa8z208fcfzyy3";
|
2019-03-18 08:26:08 +00:00
|
|
|
};
|
|
|
|
|
2019-10-13 15:56:46 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
binaryornot
|
|
|
|
boolean-py
|
|
|
|
debian
|
|
|
|
jinja2
|
|
|
|
license-expression
|
|
|
|
requests
|
|
|
|
setuptools
|
2020-06-07 17:50:47 +01:00
|
|
|
setuptools_scm
|
2019-10-13 15:56:46 +01:00
|
|
|
];
|
2019-03-18 08:26:08 +00:00
|
|
|
|
2019-08-10 11:18:53 +01:00
|
|
|
checkInputs = [ pytest ];
|
2019-03-18 08:26:08 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A tool for compliance with the REUSE Initiative recommendations";
|
2019-10-21 15:42:17 +01: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 ];
|
2019-03-18 08:26:08 +00:00
|
|
|
maintainers = [ maintainers.FlorianFranzen ];
|
|
|
|
};
|
|
|
|
}
|