Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 nix-update-script, 5 rustPlatform, 6}: 7rustPlatform.buildRustPackage rec { 8 pname = "tera-cli"; 9 version = "0.5.0"; 10 11 src = fetchFromGitHub { 12 owner = "chevdor"; 13 repo = "tera-cli"; 14 tag = "v${version}"; 15 hash = "sha256-TN3zkxZC0Y9lev2wmvzwyLU+t4rNwut/dQILIA7+qbw="; 16 }; 17 18 cargoHash = "sha256-+qf/MlifpVXzDpADJoTqxU40wDntcPu+bW7eq6/iubk="; 19 20 passthru.updateScript = nix-update-script { }; 21 22 meta = { 23 description = "Command line utility to render templates from json|toml|yaml and ENV, using the tera templating engine"; 24 homepage = "https://github.com/chevdor/tera-cli"; 25 license = lib.licenses.mit; 26 maintainers = [ lib.maintainers._365tuwe ]; 27 mainProgram = "tera"; 28 platforms = lib.platforms.unix; 29 }; 30}