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
23
pkgs/tools/misc/datefmt/default.nix
Normal file
23
pkgs/tools/misc/datefmt/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ lib, stdenv, fetchurl, datefmt, testers }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "datefmt";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://cdn.jb55.com/tarballs/datefmt/datefmt-${version}.tar.gz";
|
||||
sha256 = "5d5e765380afe39eb39d48f752aed748b57dfd843a4947b2a6d18ab9b5e68092";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = datefmt; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://jb55.com/datefmt";
|
||||
description = "A tool that formats timestamps in text streams";
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ jb55 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue