3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/package-management/reuse/default.nix

26 lines
628 B
Nix
Raw Normal View History

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";
2019-08-10 11:18:53 +01:00
version = "0.4.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}";
2019-08-10 11:18:53 +01:00
sha256 = "0gwipwikhxsk0p8wvdl90xm7chfi2jywb1namzznyymifl1vsbgh";
2019-03-18 08:26:08 +00:00
};
2019-08-10 11:18:53 +01:00
propagatedBuildInputs = [ debian license-expression requests ];
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-08-10 11:18:53 +01:00
license = with licenses; [ asl20 cc-by-sa-40 cc0 gpl3 ];
2019-03-18 08:26:08 +00:00
maintainers = [ maintainers.FlorianFranzen ];
};
}