Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6rustPlatform.buildRustPackage (finalAttrs: { 7 pname = "lix-diff"; 8 version = "1.0.1"; 9 10 src = fetchFromGitHub { 11 owner = "tgirlcloud"; 12 repo = "lix-diff"; 13 tag = "v${finalAttrs.version}"; 14 hash = "sha256-apjYXFdvxLZjhcN1wV7Y/LKNuWtWtCZM0h1VFg/znVo="; 15 }; 16 17 cargoHash = "sha256-u3aFmPcceLP7yPdWWoPmOnQEbM0jhULs/kPweymQcZ8="; 18 19 meta = { 20 homepage = "https://github.com/isabelroses/lix-diff"; 21 description = "Lix plugin for diffing two generations"; 22 license = lib.licenses.mit; 23 maintainers = with lib.maintainers; [ isabelroses ]; 24 mainProgram = "lix-diff"; 25 }; 26})