Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
1.0 KiB
Nix
52 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
libxkbcommon,
|
|
openssl,
|
|
stdenv,
|
|
wayland,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "gitnr";
|
|
version = "0.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "reemus-dev";
|
|
repo = "gitnr";
|
|
rev = "v${version}";
|
|
hash = "sha256-9vx+bGfYuJuafZUY2ZT4SAgrNcSXuMe1kHH/lrpItvM=";
|
|
};
|
|
|
|
cargoHash = "sha256-DlYV92ZbkeUieVmyaxVuCslkwAgWrULu4HerLFXZZtE=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
openssl
|
|
]
|
|
++ lib.optionals stdenv.hostPlatform.isLinux [
|
|
libxkbcommon
|
|
wayland
|
|
];
|
|
|
|
# requires internet access
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Create `.gitignore` files using one or more templates from TopTal, GitHub or your own collection";
|
|
homepage = "https://github.com/reemus-dev/gitnr";
|
|
changelog = "https://github.com/reemus-dev/gitnr/blob/${src.rev}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [
|
|
figsoda
|
|
matthiasbeyer
|
|
];
|
|
mainProgram = "gitnr";
|
|
};
|
|
}
|