2017-12-30 15:45:52 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pyyaml
|
|
|
|
, unidecode
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyaml";
|
2021-11-25 23:47:05 +01:00
|
|
|
version = "21.10.1";
|
2017-12-30 15:45:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-11-25 23:47:05 +01:00
|
|
|
sha256 = "c6519fee13bf06e3bb3f20cacdea8eba9140385a7c2546df5dbae4887f768383";
|
2017-12-30 15:45:52 +01:00
|
|
|
};
|
|
|
|
|
2021-08-25 17:00:17 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyyaml
|
|
|
|
];
|
2017-12-30 15:45:52 +01:00
|
|
|
|
2021-08-25 17:00:17 +02:00
|
|
|
checkInputs = [
|
|
|
|
unidecode
|
|
|
|
];
|
2017-12-30 15:45:52 +01:00
|
|
|
|
2021-08-25 17:00:17 +02:00
|
|
|
pythonImportsCheck = [ "pyaml" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2017-12-30 15:45:52 +01:00
|
|
|
description = "PyYAML-based module to produce pretty and readable YAML-serialized data";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/mk-fg/pretty-yaml";
|
2021-08-25 17:00:17 +02:00
|
|
|
license = licenses.wtfpl;
|
|
|
|
maintainers = with maintainers; [ ];
|
2017-12-30 15:45:52 +01:00
|
|
|
};
|
2020-04-01 03:11:51 +02:00
|
|
|
}
|