nixpkgs-suyu/pkgs/development/python-modules/pyyaml/default.nix
2021-01-29 01:04:58 +01:00

22 lines
595 B
Nix

{ lib, buildPythonPackage, fetchPypi, cython, libyaml, buildPackages }:
buildPythonPackage rec {
pname = "PyYAML";
version = "5.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e";
};
nativeBuildInputs = [ cython buildPackages.stdenv.cc ];
buildInputs = [ libyaml ];
meta = with lib; {
description = "The next generation YAML parser and emitter for Python";
homepage = "https://github.com/yaml/pyyaml";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}