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
32
pkgs/tools/package-management/nox/default.nix
Normal file
32
pkgs/tools/package-management/nox/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, python3Packages, fetchurl, git }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "nox";
|
||||
version = "0.0.6";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/n/nix-nox/nix-nox-${version}.tar.gz";
|
||||
sha256 = "1qcbhdnhdhhv7q6cqdgv0q55ic8fk18526zn2yb12x9r1s0lfp9z";
|
||||
};
|
||||
|
||||
patches = [ ./nox-review-wip.patch ];
|
||||
|
||||
buildInputs = [ python3Packages.pbr git ];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
dogpile-cache
|
||||
click
|
||||
requests
|
||||
characteristic
|
||||
setuptools
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/madjar/nox";
|
||||
description = "Tools to make nix nicer to use";
|
||||
maintainers = [ lib.maintainers.madjar ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
11
pkgs/tools/package-management/nox/nox-review-wip.patch
Normal file
11
pkgs/tools/package-management/nox/nox-review-wip.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- a/nox/review.py 2017-09-23 04:04:37.322484753 +0200
|
||||
+++ a/nox/review.py 2017-09-23 04:18:31.582692181 +0200
|
||||
@@ -84,7 +84,7 @@
|
||||
ctx.obj['dry_run'] = dry_run
|
||||
|
||||
|
||||
-@cli.command(short_help='difference between working tree and a commit')
|
||||
+@cli.command('wip', short_help='difference between working tree and a commit')
|
||||
@click.option('--against', default='HEAD')
|
||||
@click.pass_context
|
||||
@setup_nixpkgs_config
|
||||
Loading…
Add table
Add a link
Reference in a new issue