Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 32 lines 754 B view raw
1{ lib 2, stdenv 3, rustPlatform 4, fetchFromGitHub 5, CoreServices 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "bacon"; 10 version = "2.8.1"; 11 12 src = fetchFromGitHub { 13 owner = "Canop"; 14 repo = pname; 15 rev = "refs/tags/v${version}"; 16 hash = "sha256-3LoqG7t2InDBrfOk0vve/6C5Vjifq5L+Tt8ulMGuASg="; 17 }; 18 19 cargoHash = "sha256-k41hF7qhT9Y7IBp7rzpRP9pTIf1ZQsEyslaHmss+NhE="; 20 21 buildInputs = lib.optionals stdenv.isDarwin [ 22 CoreServices 23 ]; 24 25 meta = with lib; { 26 description = "Background rust code checker"; 27 homepage = "https://github.com/Canop/bacon"; 28 changelog = "https://github.com/Canop/bacon/blob/v${version}/CHANGELOG.md"; 29 license = licenses.agpl3Only; 30 maintainers = with maintainers; [ FlorianFranzen ]; 31 }; 32}