pythonPackages.pyyaml: move derivation

This commit is contained in:
Robert Schütz
2018-02-03 12:12:06 +01:00
committed by Frederik Rietdijk
parent dbb5b599ed
commit 7953e05672
2 changed files with 21 additions and 17 deletions

View File

@@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchPypi, libyaml }:
buildPythonPackage rec {
pname = "PyYAML";
version = "3.12";
src = fetchPypi {
inherit pname version;
sha256 = "592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab";
};
propagatedBuildInputs = [ 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 ];
};
}