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

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

34 lines
821 B
Nix
Raw Normal View History

2019-08-10 12:18:53 +02:00
{ lib, python3Packages, fetchFromGitHub }:
2019-03-18 09:26:08 +01:00
python3Packages.buildPythonApplication rec {
2019-03-18 09:26:08 +01:00
pname = "reuse";
2022-05-19 11:49:49 +02:00
version = "1.0.0";
2019-03-18 09:26:08 +01:00
2019-08-10 12:18:53 +02:00
src = fetchFromGitHub {
owner = "fsfe";
repo = "reuse-tool";
2019-03-18 09:26:08 +01:00
rev = "v${version}";
2022-05-19 11:49:49 +02:00
sha256 = "0yplsbd5251s8cabazbdqb00jqv8ibbgal7fhj5pfxv5lsz17vkv";
2019-03-18 09:26:08 +01:00
};
propagatedBuildInputs = with python3Packages; [
2019-10-13 16:56:46 +02:00
binaryornot
boolean-py
debian
jinja2
license-expression
requests
setuptools
setuptools-scm
2019-10-13 16:56:46 +02:00
];
2019-03-18 09:26:08 +01:00
checkInputs = with python3Packages; [ pytestCheckHook ];
2019-03-18 09:26:08 +01:00
meta = with lib; {
description = "A tool for compliance with the REUSE Initiative recommendations";
2019-10-21 16:42:17 +02:00
homepage = "https://github.com/fsfe/reuse-tool";
2019-10-28 19:03:10 +01:00
license = with licenses; [ asl20 cc-by-sa-40 cc0 gpl3Plus ];
2019-03-18 09:26:08 +01:00
maintainers = [ maintainers.FlorianFranzen ];
};
}