mirror of
https://github.com/msfjarvis/dotfiles.git
synced 2024-06-02 19:48:11 +05:30
44 lines
980 B
Nix
44 lines
980 B
Nix
{
|
|
pkgs,
|
|
fetchFromGitHub,
|
|
makeRustPlatform,
|
|
lib,
|
|
inputs,
|
|
}:
|
|
let
|
|
inherit (inputs) fenix rust-manifest;
|
|
inherit ((import fenix { inherit pkgs; })) fromManifestFile;
|
|
|
|
toolchain = (fromManifestFile rust-manifest).minimalToolchain;
|
|
in
|
|
(makeRustPlatform {
|
|
cargo = toolchain;
|
|
rustc = toolchain;
|
|
}).buildRustPackage
|
|
rec {
|
|
pname = "gitice";
|
|
version = "2.0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "msfjarvis";
|
|
repo = "gitice";
|
|
rev = "v${version}";
|
|
hash = "sha256-GsB+2yRClow6VCPeXTdsJqXjjvIKlyg6uKK6jgVe7P8=";
|
|
};
|
|
|
|
cargoHash = "sha256-uAvXo/NVe+tUDV32RFPmJDaXriGiAX/jyjtgIp2PSrQ=";
|
|
|
|
useNextest = true;
|
|
|
|
meta = with lib; {
|
|
description = "Snapshot your local git repositories for easy restoration";
|
|
homepage = "https://github.com/msfjarvis/gitice";
|
|
license = with licenses; [
|
|
asl20
|
|
mit
|
|
];
|
|
maintainers = with maintainers; [ msfjarvis ];
|
|
mainProgram = "gitice";
|
|
};
|
|
}
|