Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "docuum"; 9 version = "0.25.0"; 10 11 src = fetchFromGitHub { 12 owner = "stepchowfun"; 13 repo = "docuum"; 14 rev = "v${version}"; 15 hash = "sha256-nWd6h39jU1eZWPFMxhxActsmrs9k0TDMlealuzTa+o0="; 16 }; 17 18 cargoHash = "sha256-ce8mthEWvZ+U2+lU3gGrq1YBzbkiqUGJV5JUsZ+HhBg="; 19 20 checkFlags = [ 21 # fails, no idea why 22 "--skip=format::tests::code_str_display" 23 ]; 24 25 meta = with lib; { 26 description = "Least recently used (LRU) eviction of Docker images"; 27 homepage = "https://github.com/stepchowfun/docuum"; 28 changelog = "https://github.com/stepchowfun/docuum/blob/${src.rev}/CHANGELOG.md"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ mkg20001 ]; 31 mainProgram = "docuum"; 32 }; 33}