Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5 openssl, 6 pkg-config, 7}: 8 9rustPlatform.buildRustPackage rec { 10 pname = "git-together"; 11 version = "0.1.0-alpha.26"; 12 13 src = fetchFromGitHub { 14 owner = "kejadlen"; 15 repo = "git-together"; 16 tag = "v${version}"; 17 hash = "sha256-2HgOaqlX0mmmvRlALHm90NAdIhby/jWUJO63bQFqc+4="; 18 }; 19 20 nativeBuildInputs = [ pkg-config ]; 21 buildInputs = [ openssl ]; 22 23 OPENSSL_NO_VENDOR = true; 24 25 cargoHash = "sha256-5LKKjHzIlXw0bUmF7GDCVW0cptCxohq6CNPIrMZKorM="; 26 27 meta = { 28 changelog = "https://github.com/kejadlen/git-together/releases/tag/v${version}"; 29 description = "Better commit attribution while pairing without messing with your git workflow"; 30 homepage = "https://github.com/kejadlen/git-together"; 31 license = lib.licenses.mit; 32 maintainers = with lib.maintainers; [ sentientmonkey ]; 33 mainProgram = "git-together"; 34 }; 35}