Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6rustPlatform.buildRustPackage rec { 7 pname = "bootspec"; 8 version = "1.0.1"; 9 10 src = fetchFromGitHub { 11 owner = "DeterminateSystems"; 12 repo = "bootspec"; 13 rev = "v${version}"; 14 hash = "sha256-0MO+SqG7Gjq+fmMJkIFvaKsfTmC7z3lGfi7bbBv7iBE="; 15 }; 16 17 cargoHash = "sha256-fKbF5SyI0UlZTWsygdE8BGWuOoNSU4jx+CGdJoJFhZs="; 18 19 meta = with lib; { 20 description = "Implementation of RFC-0125's datatype and synthesis tooling"; 21 homepage = "https://github.com/DeterminateSystems/bootspec"; 22 license = licenses.mit; 23 teams = [ teams.determinatesystems ]; 24 platforms = platforms.unix; 25 }; 26}