42 lines
813 B
Nix
42 lines
813 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
oelint-parser,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "oelint-data";
|
|
version = "1.0.20";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "priv-kweihmann";
|
|
repo = "oelint-data";
|
|
tag = version;
|
|
hash = "sha256-Kfl/zYZ6PvYRn1E0MKzCZLvtqS6WV5U9hvOufFNKmPY=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
oelint-parser
|
|
];
|
|
|
|
pythonImportsCheck = [ "oelint_data" ];
|
|
|
|
# No tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Data for oelint-adv";
|
|
homepage = "https://github.com/priv-kweihmann/oelint-data";
|
|
changelog = "https://github.com/priv-kweihmann/oelint-data/releases/tag/${src.tag}";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [ GaetanLepage ];
|
|
};
|
|
}
|