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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "bump";
version = "0.2.3";
src = fetchFromGitHub {
owner = "mroth";
repo = pname;
rev = "v${version}";
sha256 = "sha256-tgTG/QlDxX1Ns0WpcNjwr/tvsdtgap7RcxX/JuYcxw8=";
};
vendorSha256 = "sha256-ZeKokW6jMiKrXLfnxwEBF+wLuFQufnPUnA/EnuhvrwI=";
doCheck = false;
ldflags = [
"-X main.buildVersion=${version}" "-X main.buildCommit=${version}" "-X main.buildDate=1970-01-01"
];
meta = with lib; {
license = licenses.mit;
homepage = "https://github.com/mroth/bump";
description = "CLI tool to draft a GitHub Release for the next semantic version";
maintainers = with maintainers; [ doronbehar ];
};
}

View file

@ -0,0 +1,32 @@
{ lib, fetchFromGitHub, buildPythonApplication, pyxdg, PyGithub }:
buildPythonApplication rec {
pname = "cligh";
version = "0.3";
doCheck = false; # no tests
src = fetchFromGitHub {
owner = "CMB";
repo = "cligh";
rev = "v${version}";
sha256 = "0d1fd78rzl2n75xpmy1gnxh1shvcs4qm0j4qqszqvfriwkg2flxn";
};
propagatedBuildInputs = [ pyxdg PyGithub ];
meta = with lib; {
homepage = "http://the-brannons.com/software/cligh.html";
description = "A simple command-line interface to the facilities of Github";
longDescription = ''
Cligh is a simple command-line interface to the facilities of GitHub.
It is written by Christopher Brannon chris@the-brannons.com. The
current version is 0.3, released July 23, 2016. This program is still
in the early stage of development. It is by no means feature-complete.
A friend and I consider it useful, but others may not.
'';
platforms = platforms.all;
license = licenses.bsd3;
maintainers = [ maintainers.jhhuh ];
};
}

View file

@ -0,0 +1,29 @@
{ buildGoPackage, fetchFromGitHub, lib }:
buildGoPackage rec {
pname = "github-release";
version = "0.10.0";
src = fetchFromGitHub {
owner = "github-release";
repo = "github-release";
rev = "v${version}";
sha256 = "sha256-J5Y0Kvon7DstTueCsoYvw6x4cOH/C1IaVArE0bXtZts=";
};
goPackagePath = "github.com/github-release/github-release";
meta = with lib; {
description = "Commandline app to create and edit releases on Github (and upload artifacts)";
longDescription = ''
A small commandline app written in Go that allows you to easily create and
delete releases of your projects on Github.
In addition it allows you to attach files to those releases.
'';
license = licenses.mit;
homepage = "https://github.com/github-release/github-release";
maintainers = with maintainers; [ ardumont j03 ];
platforms = with platforms; unix;
};
}