mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
python2Packages.pyyaml: remove
This commit is contained in:
parent
b6062cc56e
commit
b64c0b1a12
@ -1,38 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cython
|
||||
, libyaml
|
||||
, isPy27
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyYAML";
|
||||
version = "5.4.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yaml";
|
||||
repo = "pyyaml";
|
||||
rev = version;
|
||||
sha256 = "1v386gzdvsjg0mgix6v03rd0cgs9dl81qvn3m547849jm8r41dx8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
buildInputs = [ libyaml ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
PYTHONPATH=""tests/lib":$PYTHONPATH" ${python.interpreter} -m test_all
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "yaml" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The next generation YAML parser and emitter for Python";
|
||||
homepage = "https://github.com/yaml/pyyaml";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -103,8 +103,6 @@ with self; with super; {
|
||||
|
||||
pytest-xdist = callPackage ../development/python2-modules/pytest-xdist { };
|
||||
|
||||
pyyaml = callPackage ../development/python2-modules/pyyaml { };
|
||||
|
||||
recoll = disabled super.recoll;
|
||||
|
||||
rivet = disabled super.rivet;
|
||||
|
Loading…
Reference in New Issue
Block a user