mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
aribb25: format
This commit is contained in:
parent
06823bc0c7
commit
f225300be4
@ -1,12 +1,13 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitLab
|
||||
, fetchpatch
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, pcsclite
|
||||
, PCSC
|
||||
, xcbuild
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitLab,
|
||||
fetchpatch,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
pcsclite,
|
||||
PCSC,
|
||||
xcbuild,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -29,23 +30,24 @@ stdenv.mkDerivation rec {
|
||||
] ++ lib.optional stdenv.hostPlatform.isDarwin xcbuild;
|
||||
buildInputs = if stdenv.hostPlatform.isDarwin then [ PCSC ] else [ pcsclite ];
|
||||
|
||||
patches = let
|
||||
url = commit: "https://code.videolan.org/videolan/${pname}/-/commit/${commit}.diff";
|
||||
in [
|
||||
(fetchpatch {
|
||||
name = "make-cli-pipes-work-1.patch";
|
||||
url = url "0425184dbf3fdaf59854af5f530da88b2196a57b";
|
||||
sha256 = "0ysm2jivpnqxz71vw1102616qxww2gx005i0c5lhi6jbajqsa1cd";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "make-cli-pipes-work-2.patch";
|
||||
url = url "cebabeab2bda065dca1c9f033b42d391be866d86";
|
||||
sha256 = "1283kqv1r4rbaba0sv2hphkhcxgjkmh8ndlcd24fhx43nn63hd28";
|
||||
})
|
||||
];
|
||||
patches =
|
||||
let
|
||||
url = commit: "https://code.videolan.org/videolan/${pname}/-/commit/${commit}.diff";
|
||||
in
|
||||
[
|
||||
(fetchpatch {
|
||||
name = "make-cli-pipes-work-1.patch";
|
||||
url = url "0425184dbf3fdaf59854af5f530da88b2196a57b";
|
||||
sha256 = "0ysm2jivpnqxz71vw1102616qxww2gx005i0c5lhi6jbajqsa1cd";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "make-cli-pipes-work-2.patch";
|
||||
url = url "cebabeab2bda065dca1c9f033b42d391be866d86";
|
||||
sha256 = "1283kqv1r4rbaba0sv2hphkhcxgjkmh8ndlcd24fhx43nn63hd28";
|
||||
})
|
||||
];
|
||||
|
||||
buildFlags =
|
||||
lib.optional stdenv.hostPlatform.isDarwin "pcsclite_CFLAGS=-I${PCSC}/Library/Frameworks/PCSC.framework/Headers";
|
||||
buildFlags = lib.optional stdenv.hostPlatform.isDarwin "pcsclite_CFLAGS=-I${PCSC}/Library/Frameworks/PCSC.framework/Headers";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sample implementation of the ARIB STD-B25 standard";
|
||||
|
Loading…
Reference in New Issue
Block a user