git-ignore: init at v0.2.0 (#56248)

A small program to quickly and easily fetch .gitignore templates from
www.gitignore.io
This commit is contained in:
Sondre Nilsen 2019-02-25 16:47:18 +01:00 committed by xeji
parent 77cf0b05bf
commit 4e0b4a2f50
3 changed files with 42 additions and 0 deletions

View file

@ -4356,6 +4356,15 @@
github = "solson";
name = "Scott Olson";
};
sondr3 = {
email = "nilsen.sondre@gmail.com";
github = "sondr3";
name = "Sondre Nilsen";
keys = [{
longkeyid = "ed25519/0x25676BCBFFAD76B1";
fingerprint = "0EC3 FA89 EFBA B421 F82E 40B0 2567 6BCB FFAD 76B1";
}];
};
sorki = {
email = "srk@48.io";
github = "sorki";

View file

@ -82,6 +82,8 @@ let
git-hub = callPackage ./git-hub { };
git-ignore = callPackage ./git-ignore { };
git-imerge = callPackage ./git-imerge { };
git-octopus = callPackage ./git-octopus { };

View file

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, darwin }:
with rustPlatform;
buildRustPackage rec {
name = "git-ignore-${version}";
version = "0.2.0";
cargoSha256 = "1fqfy8lnvpn5sd3l73x2p359zq4303vsrdgw3aphvy6580yjb84d";
src = fetchFromGitHub {
owner = "sondr3";
repo = "git-ignore";
rev = "v${version}";
sha256 = "1nihh5inh46r8jg9z7d6g9gqfyhrznmkn15nmzpbnzf0653dl629";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
meta = with stdenv.lib; {
description = "Quickly and easily fetch .gitignore templates from gitignore.io";
homepage = https://github.com/sondr3/git-ignore;
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = [ maintainers.sondr3 ];
};
}