Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 git, 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "git-nomad"; 10 version = "0.8.0"; 11 12 src = fetchFromGitHub { 13 owner = "rraval"; 14 repo = "git-nomad"; 15 rev = "v${version}"; 16 sha256 = "sha256-G/i+mCKZSe8tPMuCLzymkU9SGyFNHY74cGhcC4ru0/k="; 17 }; 18 19 cargoHash = "sha256-WfmHQ9HXEGfAKQXPMJFNeuOYA0NbmwWdntZjP/YHWCw="; 20 21 nativeCheckInputs = [ git ]; 22 23 meta = { 24 description = "Synchronize work-in-progress git branches in a light weight fashion"; 25 homepage = "https://github.com/rraval/git-nomad"; 26 changelog = "https://github.com/rraval/git-nomad/blob/v${version}/CHANGELOG.md"; 27 license = lib.licenses.mit; 28 maintainers = with lib.maintainers; [ rraval ]; 29 mainProgram = "git-nomad"; 30 }; 31}