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
29
pkgs/tools/networking/curlie/default.nix
Normal file
29
pkgs/tools/networking/curlie/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib, curlie, testers }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "curlie";
|
||||
version = "1.6.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-3EKxuEpFm+lp2myMfymYYY9boSXGOF2iAdjtGKnjJK0=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-tYZtnD7RUurhl8yccXlTIvOxybBJITM+it1ollYJ1OI=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = curlie;
|
||||
command = "curlie version";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Frontend to curl that adds the ease of use of httpie, without compromising on features and performance";
|
||||
homepage = "https://curlie.io/";
|
||||
maintainers = with maintainers; [ ma27 ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue