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
|
|
@ -0,0 +1,41 @@
|
|||
{ stdenv, lib, perl, perlPackages, coreutils,
|
||||
fetchFromGitHub, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "oysttyer";
|
||||
version = "2.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oysttyer";
|
||||
repo = "oysttyer";
|
||||
rev = version;
|
||||
sha256 = "0cm1hvi68iqgjsg15xdii271pklgzjn9j9afb1c460z71kgy3wz2";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
perl
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with perlPackages; [
|
||||
DateTimeFormatDateParse
|
||||
TermReadLineTTYtter
|
||||
TermReadKey
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
${coreutils}/bin/install -Dm755 \
|
||||
oysttyer.pl \
|
||||
$out/bin/oysttyer
|
||||
|
||||
wrapProgram $out/bin/oysttyer \
|
||||
--prefix PERL5LIB : $PERL5LIB
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Perl Console Twitter Client";
|
||||
homepage = "http://oysttyer.github.io/";
|
||||
maintainers = with maintainers; [ woffs ];
|
||||
license = with licenses; [ ffsl ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue