mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 21:57:52 +03:00
python312Packages.yamale: refactor
This commit is contained in:
parent
53ea65f3c5
commit
bea661001b
@ -5,23 +5,28 @@
|
||||
, pytestCheckHook
|
||||
, pyyaml
|
||||
, ruamel-yaml
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yamale";
|
||||
version = "5.2.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "23andMe";
|
||||
repo = pname;
|
||||
repo = "yamale";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-UTtase1b8Zjaixhp/g0tLtT6QZS4cyaSHcFz+h9Qoos=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
pyyaml
|
||||
ruamel-yaml
|
||||
];
|
||||
@ -36,9 +41,10 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "A schema and validator for YAML";
|
||||
mainProgram = "yamale";
|
||||
homepage = "https://github.com/23andMe/Yamale";
|
||||
changelog = "https://github.com/23andMe/Yamale/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ rtburns-jpl ];
|
||||
mainProgram = "yamale";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user