Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 34 lines 647 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, pytest, pyyaml, hypothesis 3}: 4 5buildPythonPackage rec { 6 pname = "yamlloader"; 7 version = "1.0.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "e96dc3dc6895d814c330c054c966d993fc81ef1dbf5a30a4bdafeb256359e058"; 12 }; 13 14 propagatedBuildInputs = [ 15 pyyaml 16 ]; 17 18 checkInputs = [ 19 hypothesis 20 pytest 21 ]; 22 23 pythonImportsCheck = [ 24 "yaml" 25 "yamlloader" 26 ]; 27 28 meta = with lib; { 29 description = "A case-insensitive list for Python"; 30 homepage = "https://github.com/Phynix/yamlloader"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ freezeboy ]; 33 }; 34}