git-ignore: 0.2.0 -> 1.0.0
This commit is contained in:
parent
07b220808e
commit
c5e963f36c
|
@ -3,24 +3,29 @@
|
||||||
with rustPlatform;
|
with rustPlatform;
|
||||||
|
|
||||||
buildRustPackage rec {
|
buildRustPackage rec {
|
||||||
name = "git-ignore-${version}";
|
pname = "git-ignore";
|
||||||
version = "0.2.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
cargoSha256 = "1fqfy8lnvpn5sd3l73x2p359zq4303vsrdgw3aphvy6580yjb84d";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sondr3";
|
owner = "sondr3";
|
||||||
repo = "git-ignore";
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1nihh5inh46r8jg9z7d6g9gqfyhrznmkn15nmzpbnzf0653dl629";
|
sha256 = "0krz50pw9bkyzl78bvppk6skbpjp8ga7bd34jya4ha1xfmd8p89c";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "0r6whz8vghhjyc5vrr0n172nghmi61zj96lk26qm0bgxqyzll1kj";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ openssl ]
|
buildInputs = [ openssl ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [
|
++ stdenv.lib.optionals stdenv.isDarwin [
|
||||||
darwin.apple_sdk.frameworks.Security
|
darwin.apple_sdk.frameworks.Security
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
mkdir -p "$out/man/man1"
|
||||||
|
cp target/release/build/git-ignore-*/out/git-ignore.1 "$out/man/man1/"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Quickly and easily fetch .gitignore templates from gitignore.io";
|
description = "Quickly and easily fetch .gitignore templates from gitignore.io";
|
||||||
homepage = https://github.com/sondr3/git-ignore;
|
homepage = https://github.com/sondr3/git-ignore;
|
||||||
|
|
Loading…
Reference in New Issue