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
31
pkgs/development/libraries/libbencodetools/default.nix
Normal file
31
pkgs/development/libraries/libbencodetools/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, lib, fetchFromGitLab
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libbencodetools";
|
||||
version = "unstable-2021-04-15";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "heikkiorsila";
|
||||
repo = "bencodetools";
|
||||
rev = "1ab11f6509a348975e8aec829d7abbf2f8e9b7d1";
|
||||
sha256 = "1i2dgvxxwj844yn45hnfx3785ljbvbkri0nv0jx51z4i08w7cz0h";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--without-python"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Collection of tools for manipulating bencoded data";
|
||||
homepage = "https://gitlab.com/heikkiorsila/bencodetools";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ OPNA2608 ];
|
||||
mainProgram = "bencat";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue