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
30
pkgs/tools/filesystems/catcli/default.nix
Normal file
30
pkgs/tools/filesystems/catcli/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonApplication
|
||||
, docopt, anytree
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
|
||||
pname = "catcli";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deadc0de6";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1hkgf692h3akdxiwhzm3vqibh1ps661qllilf55nyk109cx79gna";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ docopt anytree ];
|
||||
|
||||
postPatch = "patchShebangs . ";
|
||||
|
||||
meta = with lib; {
|
||||
description = "The command line catalog tool for your offline data";
|
||||
homepage = "https://github.com/deadc0de6/catcli";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ petersjt014 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue