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/development/libraries/libserialport/default.nix
Normal file
23
pkgs/development/libraries/libserialport/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, udev, darwin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libserialport";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://sigrok.org/download/source/libserialport/${pname}-${version}.tar.gz";
|
||||
sha256 = "17ajlwgvyyrap8z7f16zcs59pksvncwbmd3mzf98wj7zqgczjaja";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = lib.optional stdenv.isLinux udev
|
||||
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.IOKit;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cross-platform shared library for serial port access";
|
||||
homepage = "https://sigrok.org/";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue