lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 43 lines 1.1 kB view raw
1{ lib 2, rustPlatform 3, fetchFromGitHub 4, installShellFiles 5, stdenv 6, darwin 7}: 8 9rustPlatform.buildRustPackage rec { 10 pname = "git-ignore"; 11 version = "1.2.2"; 12 13 src = fetchFromGitHub { 14 owner = "sondr3"; 15 repo = pname; 16 rev = "v${version}"; 17 hash = "sha256-kIRuoY0dM2t+aY4iYdik9gUpG+81sDiJLD11Bmx68FI="; 18 }; 19 20 cargoHash = "sha256-6sb+OW5VtA6vY6fDtsaZePZD53ehH7QawxJJlUNsrnM="; 21 22 nativeBuildInputs = [ 23 installShellFiles 24 ]; 25 26 buildInputs = lib.optionals stdenv.isDarwin [ 27 darwin.apple_sdk.frameworks.Security 28 ]; 29 30 postInstall = '' 31 assets=$releaseDir/../assets 32 installManPage $assets/git-ignore.1 33 installShellCompletion $assets/git-ignore.{bash,fish} --zsh $assets/_git-ignore 34 ''; 35 36 meta = with lib; { 37 description = "Quickly and easily fetch .gitignore templates from gitignore.io"; 38 homepage = "https://github.com/sondr3/git-ignore"; 39 changelog = "https://github.com/sondr3/git-ignore/blob/${src.rev}/CHANGELOG.md"; 40 license = licenses.gpl3Plus; 41 maintainers = with maintainers; [ figsoda ]; 42 }; 43}