mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
32 lines
854 B
Nix
32 lines
854 B
Nix
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin, git }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "git-nomad";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rraval";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-1PXAdXafkPOIVzaWjW/RlWHwYhMqPoj0Hj5JmOMUj8A=";
|
|
};
|
|
|
|
cargoHash = "sha256-ULcdJRla1JwI0y6ngW9xQXjNw2wO48HuAczsNIsJJK0=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [
|
|
darwin.apple_sdk.frameworks.SystemConfiguration
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
git
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Synchronize work-in-progress git branches in a light weight fashion";
|
|
homepage = "https://github.com/rraval/git-nomad";
|
|
changelog = "https://github.com/rraval/git-nomad/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ rraval ];
|
|
};
|
|
}
|