nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 826 B view raw
1{ 2 lib, 3 stdenv, 4 rustPlatform, 5 fetchFromGitHub, 6 pkg-config, 7 libx11, 8}: 9 10rustPlatform.buildRustPackage rec { 11 pname = "flitter"; 12 version = "1.1.5"; 13 14 src = fetchFromGitHub { 15 owner = "alexozer"; 16 repo = "flitter"; 17 tag = version; 18 hash = "sha256-aXTQeUKhwa2uVipKIs8n0XBiWa5o7U6UMlAUlnzXyzE="; 19 }; 20 21 cargoHash = "sha256-SOmq1txYMJGUVkkrE3kWmioaJzBX9raZ+ExFlPYGDM8="; 22 23 nativeBuildInputs = [ 24 pkg-config 25 ]; 26 27 buildInputs = [ 28 libx11 29 ]; 30 31 meta = { 32 description = "Livesplit-inspired speedrunning split timer for Linux/macOS terminal"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ fgaz ]; 35 homepage = "https://github.com/alexozer/flitter"; 36 platforms = lib.platforms.unix; 37 mainProgram = "flitter"; 38 broken = stdenv.hostPlatform.isDarwin; 39 }; 40}