Merge pull request #125734 from fabaff/bump-ruamel.yaml

python3packages.ruyaml: init at 0.90.0.2
This commit is contained in:
Sandro 2021-06-10 21:08:23 +02:00 committed by GitHub
commit 455fb5b146
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, distro
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools-scm
, setuptools-scm-git-archive
}:
buildPythonPackage rec {
pname = "ruyaml";
version = "0.90.0.2";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "pycontribs";
repo = pname;
rev = version;
sha256 = "0gxvwry7n1gczxkjzyfrr3fammllkvnnamja4yln8xrg3n1h89al";
};
nativeBuildInputs = [
setuptools-scm
setuptools-scm-git-archive
];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
propagatedBuildInputs = [
distro
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "ruyaml" ];
meta = with lib; {
description = "YAML 1.2 loader/dumper package for Python";
homepage = "https://ruyaml.readthedocs.io/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -7449,6 +7449,8 @@ in {
runway-python = callPackage ../development/python-modules/runway-python { };
ruyaml = callPackage ../development/python-modules/ruyaml { };
rx = callPackage ../development/python-modules/rx { };
rxv = callPackage ../development/python-modules/rxv { };