uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
43
pkgs/development/tools/chit/default.nix
Normal file
43
pkgs/development/tools/chit/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl
|
||||
, darwin
|
||||
}:
|
||||
|
||||
with rustPlatform;
|
||||
|
||||
buildRustPackage rec {
|
||||
pname = "chit";
|
||||
version = "0.1.15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "peterheesterman";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0iixczy3cad44j2d7zzj8f3lnmp4jwnb0snmwfgiq3vj9wrn28pz";
|
||||
};
|
||||
|
||||
cargoSha256 = "1y6k24p4m67v5773rzid2r0jwxp9piggrp0462z446hbcam2r4gd";
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
|
||||
buildInputs = []
|
||||
++ lib.optionals stdenv.isLinux [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation CoreServices Security ])
|
||||
;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Crate help in terminal: A tool for looking up details about rust crates without going to crates.io";
|
||||
longDescription = ''
|
||||
Chit helps answer these questions:
|
||||
|
||||
* Who wrote this crate? What else did they write?
|
||||
* What alternatives are there?
|
||||
* How old is this crate?
|
||||
* What versions are there? When did they come out?
|
||||
* What are the downloads over time?
|
||||
* Should i use this crate?
|
||||
* How mature is it?
|
||||
'';
|
||||
homepage = "https://github.com/peterheesterman/chit";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.lilyball ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue