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/libmcrypt/default.nix
Normal file
25
pkgs/development/libraries/libmcrypt/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, stdenv, fetchurl, darwin, disablePosixThreads ? false }:
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libmcrypt";
|
||||
version = "2.5.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/mcrypt/Libmcrypt/${version}/libmcrypt-${version}.tar.gz";
|
||||
sha256 = "0gipgb939vy9m66d3k8il98rvvwczyaw2ixr8yn6icds9c3nrsz4";
|
||||
};
|
||||
|
||||
buildInputs = optional stdenv.isDarwin darwin.cctools;
|
||||
|
||||
configureFlags = optional disablePosixThreads
|
||||
[ "--disable-posix-threads" ];
|
||||
|
||||
meta = {
|
||||
description = "Replacement for the old crypt() package and crypt(1) command, with extensions";
|
||||
homepage = "http://mcrypt.sourceforge.net";
|
||||
license = "GPL";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue