My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/oyaml/default.nix

43 lines
819 B

{ lib
, buildPythonPackage
, fetchFromGitHub
# pythonPackages
, pytestCheckHook
, pythonOlder
, pyyaml
}:
buildPythonPackage rec {
pname = "oyaml";
version = "unstable-2021-12-03";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "wimglenn";
repo = "oyaml";
rev = "d0195070d26bd982f1e4e604bded5510dd035cd7";
hash = "sha256-1rSEhiULlAweLDqUFX+JBFxe3iW9kNlRA2zjcG8MYSg=";
};
propagatedBuildInputs = [
pyyaml
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"oyaml"
];
meta = with lib; {
description = "Drop-in replacement for PyYAML which preserves dict ordering";
homepage = "https://github.com/wimglenn/oyaml";
license = licenses.mit;
maintainers = with maintainers; [ kamadorueda ];
};
}