Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 41 lines 846 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 6 pkg-config, 7 udev, 8}: 9 10rustPlatform.buildRustPackage rec { 11 pname = "tangara-cli"; 12 version = "0.4.3"; 13 14 src = fetchFromGitHub { 15 owner = "haileys"; 16 repo = "tangara-companion"; 17 tag = "v${version}"; 18 hash = "sha256-pTE+xlXWIOOt1oiKosnbXTCLYoAqP3CfXA283a//Ds0="; 19 }; 20 21 cargoHash = "sha256-C7Q3Oo/aBBH6pW1zSFQ2nD07+wu8uXfRSwNif2pVlW0="; 22 23 nativeBuildInputs = [ 24 pkg-config 25 ]; 26 27 buildInputs = [ 28 udev 29 ]; 30 31 buildAndTestSubdir = "crates/tangara-cli"; 32 33 meta = { 34 description = "Command-line tool for managing the Cool Tech Zone Tangara"; 35 mainProgram = "tangara"; 36 homepage = "https://github.com/haileys/tangara-companion"; 37 license = lib.licenses.gpl3Plus; 38 maintainers = with lib.maintainers; [ stevestreza ]; 39 platforms = lib.platforms.linux; 40 }; 41}