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
25
pkgs/development/libraries/tclx/default.nix
Normal file
25
pkgs/development/libraries/tclx/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, fetchurl, tcl }:
|
||||
|
||||
tcl.mkTclDerivation rec {
|
||||
pname = "tclx";
|
||||
version = "8.4.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/tclx/tclx${version}.tar.bz2";
|
||||
sha256 = "1v2qwzzidz0is58fd1p7wfdbscxm3ip2wlbqkj5jdhf6drh1zd59";
|
||||
};
|
||||
|
||||
# required in order for tclx to properly detect tclx.tcl at runtime
|
||||
postInstall = let
|
||||
majorMinorVersion = lib.versions.majorMinor version;
|
||||
in ''
|
||||
ln -s $prefix/lib/tclx${majorMinorVersion} $prefix/lib/tclx${majorMinorVersion}/tclx${majorMinorVersion}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://tclx.sourceforge.net/";
|
||||
description = "Tcl extensions";
|
||||
license = lib.licenses.tcltk;
|
||||
maintainers = with lib.maintainers; [ kovirobi ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue