nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 907 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 click, 5 fetchFromGitHub, 6 poetry-core, 7 pytestCheckHook, 8 toml, 9}: 10 11buildPythonPackage rec { 12 pname = "toml-adapt"; 13 version = "0.3.4"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "firefly-cpp"; 18 repo = "toml-adapt"; 19 tag = version; 20 hash = "sha256-GtwE8P4uP3F6wOrzv/vZ4CJR4tzF7CxpWV/8X/hBZhc="; 21 }; 22 23 nativeBuildInputs = [ poetry-core ]; 24 25 propagatedBuildInputs = [ 26 click 27 toml 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "toml_adapt" ]; 33 34 meta = { 35 description = "Simple Command-line interface for manipulating toml files"; 36 homepage = "https://github.com/firefly-cpp/toml-adapt"; 37 changelog = "https://github.com/firefly-cpp/toml-adapt/releases/tag/${src.tag}"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ firefly-cpp ]; 40 mainProgram = "toml-adapt"; 41 }; 42}