Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 24 lines 571 B view raw
1{ 2 lib, 3 fetchCrate, 4 rustPlatform, 5}: 6rustPlatform.buildRustPackage rec { 7 pname = "when-cli"; 8 version = "0.4.0"; 9 10 src = fetchCrate { 11 inherit pname version; 12 hash = "sha256-LWssrLl2HKul24N3bJdf2ePqeR4PCROrTiVY5sqzB2M="; 13 }; 14 15 cargoHash = "sha256-ArrKKcTPfp71ltLh1eeEmanFa7B3nLj+jgj4CzINBY0="; 16 17 meta = { 18 description = "Command line tool for converting between timezones"; 19 homepage = "https://github.com/mitsuhiko/when"; 20 mainProgram = "when"; 21 license = lib.licenses.asl20; 22 maintainers = with lib.maintainers; [ loicreynier ]; 23 }; 24}