nixpkgs/pkgs/tools/misc/dotter/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
815 B
Nix
Raw Normal View History

2022-06-08 04:17:47 +02:00
{ lib
, stdenv
, fetchFromGitHub
2022-09-13 10:56:50 +02:00
, nix-update-script
2022-06-08 04:17:47 +02:00
, rustPlatform
, CoreServices
, which
}:
2022-02-22 15:46:05 +01:00
rustPlatform.buildRustPackage rec {
pname = "dotter";
2023-07-24 07:46:11 +02:00
version = "0.13.0";
2022-02-22 15:46:05 +01:00
src = fetchFromGitHub {
owner = "SuperCuber";
repo = "dotter";
2022-04-25 14:49:50 +02:00
rev = "v${version}";
2023-07-23 02:18:06 +02:00
hash = "sha256-mAvTy/11a9RGSQpElhpKMzsMC7vA7cbeHsNRy9MnIjw=";
2022-02-22 15:46:05 +01:00
};
2023-07-24 07:46:11 +02:00
cargoHash = "sha256-XsDp/ssoNVdTHDTPm2ucgBeYmFgbeBIxQ/NsGjCl5Qg=";
2022-02-22 15:46:05 +01:00
2022-05-12 09:28:06 +02:00
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
nativeCheckInputs = [ which ];
2022-02-22 15:46:05 +01:00
2022-09-13 10:56:50 +02:00
passthru = {
updateScript = nix-update-script { };
2022-09-13 10:56:50 +02:00
};
2022-02-22 15:46:05 +01:00
meta = with lib; {
description = "A dotfile manager and templater written in rust 🦀";
homepage = "https://github.com/SuperCuber/dotter";
license = licenses.unlicense;
maintainers = with maintainers; [ linsui ];
};
}